Reputation: 35
I'm trying to write a LLVM function pass to do some instrumentation. Therefore, I I need to get
I already found and tried getMetadata("dbg") but I do not want to use the compiler flag -g. Is there another way to get these information?
Upvotes: 0
Views: 83
Reputation: 9324
Well... the debug metadata is emitted when debug info generation is enabled. You may want to reduce the amount of debug information generated with -gline-tables-only
Upvotes: 1