diff options
author | Georgii Rymar <grimar@accesssoftek.com> | 2020-05-23 18:34:08 +0300 |
---|---|---|
committer | Georgii Rymar <grimar@accesssoftek.com> | 2020-05-26 12:52:42 +0300 |
commit | 2e365ca2f7ce7a1f4a3938d79b894324b383ce5c (patch) | |
tree | 3a2f853384a4da59039a135900ff258fd3646fd4 /llvm/lib/CodeGen/MachineScheduler.cpp | |
parent | c5bbc8dd6d686175788e6c1a5fc0339814a5adfc (diff) | |
download | llvm-2e365ca2f7ce7a1f4a3938d79b894324b383ce5c.zip llvm-2e365ca2f7ce7a1f4a3938d79b894324b383ce5c.tar.gz llvm-2e365ca2f7ce7a1f4a3938d79b894324b383ce5c.tar.bz2 |
[DebugInfo/llvm-objdump] - Print "ZERO terminator" for terminator entries when dumping .eh_frame.
A CIE with the Length == 0 is a terminator:
https://refspecs.linuxfoundation.org/LSB_5.0.0/LSB-Core-generic/LSB-Core-generic/ehframechpt.html
And GNU objdump recognizes them and prints the following for such entries:
"00000000 ZERO terminator"
This patch teaches llvm-objdump to do the same. I had to update tests to use
"CHECK-NEXT" too.
(Note: it looks perhaps not right that printing is done inside the DebugInfo library,
I'd expect to see the change in the llvm-objdump's code somewhere instead,
but that is how it done atm).
Differential revision: https://reviews.llvm.org/D80476
Diffstat (limited to 'llvm/lib/CodeGen/MachineScheduler.cpp')
0 files changed, 0 insertions, 0 deletions