search for: pathtollvmbuildinclud

Displaying 1 result from an estimated 1 matches for "pathtollvmbuildinclud".

Did you mean: pathtollvmbuildinclude
2012 May 31
3
[LLVMdev] Using LLVM code in projects/compiler-rt
...nd the interface in "llvm/DebugInfo/DIContext.h" I see two obstacles: 1) How can I include LLVM headers in source files inside projects/compiler-rt? As a local workaround, I modify configuration for ASan/TSan runtimes as follows: CFLAGS.asan-x86_64 := $(CFLAGS) -I$(PathToLLVMInclude) -I$(PathToLLVMBuildInclude) Note that I need both "/path/to/llvm_checkout/include" and "/path/to/llvm_build/include", because some LLVM headers are generated when LLVM is built (e.g. "llvm/Support/DataTypes.h"). This looks very broken, as paths are hardcoded, and LLVM headers are not included i...