summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/AggressiveInstCombine/AggressiveInstCombine.cpp
diff options
context:
space:
mode:
authorThomas Anderson <thomasanderson@google.com>2019-01-02 19:28:00 +0000
committerThomas Anderson <thomasanderson@google.com>2019-01-02 19:28:00 +0000
commit4a401e9479a084e9037a47611f9004e0228c02f8 (patch)
treeb7d54236814286ef970d61fea430248ee1755410 /llvm/lib/Transforms/AggressiveInstCombine/AggressiveInstCombine.cpp
parent8cfefb508758fa057c8756c423a3d6d9fe6f606d (diff)
downloadbcm5719-llvm-4a401e9479a084e9037a47611f9004e0228c02f8.tar.gz
bcm5719-llvm-4a401e9479a084e9037a47611f9004e0228c02f8.zip
Fix linker-defined symbols possibly not being defined when -wrap is used
Fixes https://bugs.llvm.org/show_bug.cgi?id=40134 addWrappedSymbols() must be called before addReservedSymbols() because the latter only defines reserved symbols when they are undefined in the symbol table. If addWrappedSymbols() is called after, then addUndefined() is called which may lazily pull in more object files that could reference reserved symbols. Differential Revision: https://reviews.llvm.org/D56110 llvm-svn: 350251
Diffstat (limited to 'llvm/lib/Transforms/AggressiveInstCombine/AggressiveInstCombine.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud