llvm-6502/test/tools
Rui Ueyama 3ab0ce0cde 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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@202785 91177308-0d34-0410-b5e6-96231b3b80d8
2014-03-04 04:00:55 +00:00
..
llvm-cov For lcov tests, don't Xfail mips littl endian (mipsel-... and mip64el-...) 2014-02-24 16:33:56 +00:00
llvm-lit
llvm-objdump llvm-objdump: Print x64 unwind info in executable. 2014-03-04 04:00:55 +00:00
llvm-profdata PGO: llvm-profdata: tool for merging profiles 2014-02-17 23:22:49 +00:00
llvm-readobj Relax COFF string table check 2014-02-26 19:51:44 +00:00