[PATCH] Do not add -gsplit-dwarf to LLVM_DEFINITIONS.

Peter Collingbourne peter at pcc.me.uk
Tue Oct 21 15:10:45 PDT 2014


Hi dblaikie,

This would cause the flag to appear in the output of "llvm-config --cppflags",
which should contain only preprocessor flags. The -gsplit-dwarf flag in
particular can cause problems with certain downstream users such as cgo.

http://reviews.llvm.org/D5895

Files:
  cmake/modules/HandleLLVMOptions.cmake
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5895.15216.patch
Type: text/x-patch
Size: 421 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141021/f75a6926/attachment.bin>


More information about the llvm-commits mailing list