diff options
author | Davide Italiano <davide@freebsd.org> | 2017-01-26 23:12:53 +0000 |
---|---|---|
committer | Davide Italiano <davide@freebsd.org> | 2017-01-26 23:12:53 +0000 |
commit | 44f1281fb73537509d9483bb86563b4091fcd6a8 (patch) | |
tree | 0ededcf5b5d32cad0c810d350b318a66630cfec5 /llvm/lib/CodeGen/LocalStackSlotAllocation.cpp | |
parent | 76ea19641ec649c4d07dee5216d7d2a956bb4f9e (diff) | |
download | bcm5719-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/LocalStackSlotAllocation.cpp')
0 files changed, 0 insertions, 0 deletions