commit | bf34add9c87491976cfaec6d4b44695e9ee38e9e | [log] [tgz] |
---|---|---|
author | Davide Italiano <davide@freebsd.org> | Thu Jan 26 23:12:53 2017 +0000 |
committer | Davide Italiano <davide@freebsd.org> | Thu Jan 26 23:12:53 2017 +0000 |
tree | c5970fc7669a850b0525dd2af3fc61ced98208fa | |
parent | f7b66eb71ece2bfa82416eb14106599e243d6142 [diff] |
[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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@293224 91177308-0d34-0410-b5e6-96231b3b80d8