summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-objcopy/llvm-objcopy.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2017-10-10 22:59:32 +0000
committerRui Ueyama <ruiu@google.com>2017-10-10 22:59:32 +0000
commita1b79dff2af6b739d047d6b43c24e287724cd637 (patch)
tree65d0bb13c93014e58332f840c876c017b15ceb0f /llvm/tools/llvm-objcopy/llvm-objcopy.cpp
parente9ea08a0974a429c47e060f8ac7e18a80ed1c543 (diff)
downloadbcm5719-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
OpenPOWER on IntegriCloud