[LLVMdev] Using "-mllvm -debug" with "-flto" during link-time code generation
Steven Noonan
steven at uplinklabs.net
Sat Dec 13 13:54:55 PST 2014
I've got an --enable-debug-runtime build of LLVM (current trunk).
Using "-mllvm -debug" works fine for compile invocations of clang. But
I can't get debug output from LLVM when doing a link with "-flto
-fuse-ld=gold", all I get are a series of "argument unused during
compilation" warnings.
What's the prescribed set of arguments to enable debug output for the
-flto codegen/link stage?
More information about the llvm-dev
mailing list