diff options
author | Rui Ueyama <ruiu@google.com> | 2017-10-10 22:59:32 +0000 |
---|---|---|
committer | Rui Ueyama <ruiu@google.com> | 2017-10-10 22:59:32 +0000 |
commit | a1b79dff2af6b739d047d6b43c24e287724cd637 (patch) | |
tree | 65d0bb13c93014e58332f840c876c017b15ceb0f /llvm/tools/llvm-objcopy/llvm-objcopy.cpp | |
parent | e9ea08a0974a429c47e060f8ac7e18a80ed1c543 (diff) | |
download | bcm5719-llvm-a1b79dff2af6b739d047d6b43c24e287724cd637.tar.gz bcm5719-llvm-a1b79dff2af6b739d047d6b43c24e287724cd637.zip |
Handle input section liveness only in MarkLive.cpp.
The condition whether a section is alive or not by default
is becoming increasingly complex, so the decision of garbage
collection is spreading over InputSection.h and MarkLive.cpp,
which is not a good state.
This moves the code to MarkLive.cpp, to keep the file the central
place to make decisions about garbage collection.
llvm-svn: 315384
Diffstat (limited to 'llvm/tools/llvm-objcopy/llvm-objcopy.cpp')
0 files changed, 0 insertions, 0 deletions