summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCExternalSymbolizer.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2013-10-22 19:26:13 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2013-10-22 19:26:13 +0000
commit208b5c0fa5caa5716a78a04e856bf39ef8f38732 (patch)
tree0d11ed81ffe224ee4c8a2a5e589092213952e6ca /llvm/lib/MC/MCExternalSymbolizer.cpp
parentbe38b9e15fde35e15cf87f28540bd34edfce4db6 (diff)
downloadbcm5719-llvm-208b5c0fa5caa5716a78a04e856bf39ef8f38732.tar.gz
bcm5719-llvm-208b5c0fa5caa5716a78a04e856bf39ef8f38732.zip
New fix for pr17535.
This is a fixed version of r193161. In order to handle void foo() __attribute__((alias("bar"))); void bar() {} void zed() __attribute__((alias("foo"))); it is not enough to delay aliases to the end of the TU, we have to do two passes over them to find if they are defined or not. This can be implemented by producing alias as we go and just doing the second pass at the end. This has the advantage that other parts of clang that were expecting alias to be processed in order don't have to be changed. This patch also handles cyclic aliases. llvm-svn: 193188
Diffstat (limited to 'llvm/lib/MC/MCExternalSymbolizer.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud