1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-25 14:02:52 +02:00
llvm-mirror/test/tools/llvm-objdump/Inputs
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
..
export.dll.coff-i386
nop.exe.coff-i386 llvm-objdump/COFF: Print load configuration table. 2014-02-19 03:53:11 +00:00
out-of-section-sym.elf-i386 llvm-objdump: Do not attempt to disassemble symbols outside of section 2014-02-24 22:12:11 +00:00
out-of-section-sym.s llvm-objdump: Do not attempt to disassemble symbols outside of section 2014-02-24 22:12:11 +00:00
trivial.obj.elf-i386
win64-unwind.exe.coff-x86_64.asm
win64-unwind.exe.coff-x86_64.exe llvm-objdump: Print x64 unwind info in executable. 2014-03-04 04:00:55 +00:00
win64-unwind.exe.coff-x86_64.obj llvm-objdump: Print x64 unwind info in executable. 2014-03-04 04:00:55 +00:00