I am using pre-built LLVM/Clang 3.8.0 binaries on Ubuntu 16.04.2, 64 bit. I tried to lift a minimal program to LLVM IR, then link the IR to DataFlowSanitizer libraries to produce executable code. In the second step, the process throws a bunch of linker errors.
This happens with LLVM 4.0, too. Is it a bug I am hitting, by any chance?
I don’t use the pre-built binaries, but I believe the missing symbols are part of compiler-rt. Please see: https://compiler-rt.llvm.org/