summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/StackColoring.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2017-05-17 00:35:50 +0000
committerRui Ueyama <ruiu@google.com>2017-05-17 00:35:50 +0000
commit02df7a6cf1874ecbf0f1ee50846cf8cb2e648b63 (patch)
tree84bd22c6f13856cb5ee63db0d3212a6c8fa44a65 /llvm/lib/CodeGen/StackColoring.cpp
parent26342f915bd615900c652afd3c807a4fc195ac9f (diff)
downloadbcm5719-llvm-02df7a6cf1874ecbf0f1ee50846cf8cb2e648b63.tar.gz
bcm5719-llvm-02df7a6cf1874ecbf0f1ee50846cf8cb2e648b63.zip
Garbage collect dllimported symbols.
Summary: Previously, the garbage collector (enabled by default or by explicitly passing /opt:ref) did not kill dllimported symbols. As a result, dllimported symbols could be added to resulting executables' dllimport list even if no one was actually using them. This patch implements dllexported symbol garbage collection. Just like COMDAT sections, dllimported symbols now have Live bits to manage their liveness, and MarkLive marks reachable dllimported symbols. Fixes https://bugs.llvm.org/show_bug.cgi?id=32950 Reviewers: pcc Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D33264 llvm-svn: 303225
Diffstat (limited to 'llvm/lib/CodeGen/StackColoring.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud