llvm-project/llvm/test/tools
Rui Ueyama 9c674e6851 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
..
llvm-cov For lcov tests, don't Xfail mips littl endian (mipsel-... and mip64el-...) 2014-02-24 16:33:56 +00:00
llvm-lit [tests] Cleanup initialization of test suffixes. 2013-08-16 00:37:11 +00:00
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