<div dir="ltr"><div>Hi,</div><div><br></div><div>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.</div><div><br></div><div>Are there any compiler/linker options and/or other tools in LLVM to get rid of the above mentioned unneeded debug info?</div><div><br></div><div>If such options does not exist, what needs to be changed in the linker (lld)?</div><div><br></div><div>Thanks,</div><div>Ramana<br></div></div>