Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
LGTM, this looks reasonable to me!
llvm/test/tools/llvm-readobj/COFF/exports-forwarder.yaml | ||
---|---|---|
13 | Nitpick, I think you could achieve the same here without -lldmingw, allowing you to lose -exclude-all-symbols too - and that would shrink the rdata by a couple bytes too. (Mingw executables get a couple extra dummy bytes due to ctor/dtor list placeholders, see insertCtorDtorSymbols in Writer.cpp. In theory those placeholders could be symbols without any associated dummy data, but changing it would need to be synchronized across binutils/lld/mingw-w64-crt and would break mixing versions among all those.) |
Nitpick, I think you could achieve the same here without -lldmingw, allowing you to lose -exclude-all-symbols too - and that would shrink the rdata by a couple bytes too.
(Mingw executables get a couple extra dummy bytes due to ctor/dtor list placeholders, see insertCtorDtorSymbols in Writer.cpp. In theory those placeholders could be symbols without any associated dummy data, but changing it would need to be synchronized across binutils/lld/mingw-w64-crt and would break mixing versions among all those.)