summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SafeStack.cpp
diff options
context:
space:
mode:
authorDavide Italiano <davide@freebsd.org>2017-01-26 23:12:53 +0000
committerDavide Italiano <davide@freebsd.org>2017-01-26 23:12:53 +0000
commit44f1281fb73537509d9483bb86563b4091fcd6a8 (patch)
tree0ededcf5b5d32cad0c810d350b318a66630cfec5 /llvm/lib/CodeGen/SafeStack.cpp
parent76ea19641ec649c4d07dee5216d7d2a956bb4f9e (diff)
downloadbcm5719-llvm-44f1281fb73537509d9483bb86563b4091fcd6a8.tar.gz
bcm5719-llvm-44f1281fb73537509d9483bb86563b4091fcd6a8.zip
[obj2yaml] Produce correct output for invalid relocations.
R_X86_64_NONE can be emitted without a symbol associated (well, in theory it should never be emitted in an ABI-compliant relocatable object). So, if there's no symbol associated to a reloc, emit one with an empty name, instead of crashing. Ack'ed by Michael Spencer offline. PR: 31768 llvm-svn: 293224
Diffstat (limited to 'llvm/lib/CodeGen/SafeStack.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud