When a function is excluded via comdat we shouldn't add it to the
final list of init functions.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
- Build Status
Buildable 33029 Build 33028: arc lint + arc unit
Paths
| Differential D62983
[WebAssembly] Fix for discarded init functions ClosedPublic Authored by sbc100 on Jun 6 2019, 2:32 PM.
Details Summary When a function is excluded via comdat we shouldn't add it to the
Diff Detail
Event TimelineHerald added subscribers: llvm-commits, dexonsmith, steven_wu and 5 others. · View Herald Transcript This revision is now accepted and ready to land.Jun 6 2019, 8:10 PM Closed by commit rL362769: [WebAssembly] Fix for discarded init functions (authored by sbc). · Explain WhyJun 6 2019, 10:58 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 203448 lld/test/wasm/Inputs/comdat1.ll
lld/test/wasm/Inputs/comdat2.ll
lld/test/wasm/comdats.ll
lld/test/wasm/lto/comdat.ll
lld/wasm/InputChunks.h
lld/wasm/InputFiles.cpp
lld/wasm/MarkLive.cpp
lld/wasm/Symbols.h
lld/wasm/Symbols.cpp
lld/wasm/Writer.cpp
|