When --whole-archive is active, treat object files linked from archives
as live, and don't GC their constructors.
Details
Details
- Reviewers
sbc100
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Paths
| Differential D89293
[WebAssembly] Don't GC constructors from libraries under --whole-archive AbandonedPublic Authored by sunfish on Oct 12 2020, 9:13 PM.
Details
Summary When --whole-archive is active, treat object files linked from archives
Diff Detail
Unit TestsFailed Event Timeline
Revision Contents
Diff 297756 lld/test/wasm/ctor-no-gc-whole-archive.test
lld/wasm/Driver.cpp
lld/wasm/InputFiles.h
lld/wasm/InputFiles.cpp
lld/wasm/SymbolTable.cpp
|
clang-format: please reformat the code