[llvm-dev] [LLD] How to get rid of debug info of sections deleted by garbage collector (original) (raw)
Venkata Ramanaiah Nalamothu via llvm-dev llvm-dev at lists.llvm.org
Wed Sep 19 20:34:31 PDT 2018
- Previous message: [llvm-dev] [MC Layer] parsing/disassembling implicit operands
- Next message: [llvm-dev] Can I use CFLAndersAliasAnalysis to get point-to set of a function pointer?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
After compiling an example.cpp file with "-c -ffunction-sections" and linking with "--gc-sections" (used ld.lld), I am still seeing debug info for the sections deleted by garbage collector in the generated executable.
Are there any compiler/linker options and/or other tools in LLVM to get rid of the above mentioned unneeded debug info?
If such options does not exist, what needs to be changed in the linker (lld)?
Thanks, Ramana -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180920/1b1faf9a/attachment.html>
- Previous message: [llvm-dev] [MC Layer] parsing/disassembling implicit operands
- Next message: [llvm-dev] Can I use CFLAndersAliasAnalysis to get point-to set of a function pointer?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]