[PATCH] Linker: Replace overridden subprograms

Rafael EspĂ­ndola rafael.espindola at gmail.com
Tue Dec 16 10:01:20 PST 2014


> I thought this was part of a special case for dwarf in linkers (and
> the missing feature why lld produced binaries are much larger in -g
> builds).

No, you are correct. The subprograms are not optimized. I tested by
just having a simple inline function in two .cpp.

In the small example the only thing missing from lld is optimizing
.debug_str. Let me check clang.

Cheers,
Rafael



More information about the llvm-commits mailing list