1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00
llvm-mirror/test/tools/llvm-objdump
Rui Ueyama 00f2ed3a0a llvm-objdump: Print x64 unwind info in executable.
The original code does not work correctly on executable files because the
code is written in such a way that only object files are assumed to be given
to llvm-objdump.

Contents of RuntimeFunction are different between executables and objects. In
executables, fields in RuntimeFunction have actual addresses to unwind info
structures. On the other hand, in object files, the fields have zero value,
but instead there are relocations pointing to the fields, so that Linker will
fill them at link-time.

So, when we are reading an object file, we need to use relocation info to
find the location of unwind info. When executable, we should just look at the
values in RuntimeFunction.

llvm-svn: 202785
2014-03-04 04:00:55 +00:00
..
Inputs llvm-objdump: Print x64 unwind info in executable. 2014-03-04 04:00:55 +00:00
coff-private-headers.test llvm-objdump/COFF: Print SEH table addresses. 2014-02-20 06:51:07 +00:00
disassembly-show-raw.test Re-submit r191472 with a fix for big endian. 2013-09-27 21:04:00 +00:00
lit.local.cfg Resurrect lit.local.cfg to un-break hexagon buildbot. 2013-09-27 21:26:38 +00:00
out-of-section-sym.test llvm-objdump: Do not attempt to disassemble symbols outside of section 2014-02-24 22:12:11 +00:00
win64-unwind-data.test llvm-objdump: Print x64 unwind info in executable. 2014-03-04 04:00:55 +00:00