llvm-project/llvm/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
..
bugpoint Replace the F_Binary flag with a F_Text one. 2014-02-24 18:20:12 +00:00
bugpoint-passes Set LLVM_EXPORTED_SYMBOL_FILE in CMakeLists whose corresponding Makefiles do so. 2013-12-29 23:06:49 +00:00
gold Don't mix the plain and keyword signatures of target_link_libraries. 2014-02-26 20:39:28 +00:00
llc Use DataLayout from the module when easily available. 2014-02-25 23:25:17 +00:00
lli Replace the F_Binary flag with a F_Text one. 2014-02-24 18:20:12 +00:00
llvm-ar Now that we have C++11, turn simple functors into lambdas and remove a ton of boilerplate. 2014-03-01 11:47:00 +00:00
llvm-as Replace the F_Binary flag with a F_Text one. 2014-02-24 18:20:12 +00:00
llvm-bcanalyzer [cleanup] Move the Dominators.h and Verifier.h headers into the IR 2014-01-13 09:26:24 +00:00
llvm-c-test Use -std=gnu99 in tools/llvm-c-test/CMakeLists.txt 2014-01-08 11:48:19 +00:00
llvm-config Don't emit a blank line when running llvm-config --system-libs. 2014-03-03 15:06:14 +00:00
llvm-cov llvm-cov: Support gcov's extermely lenient treatment of -o 2014-02-18 09:19:48 +00:00
llvm-diff [CMake] Update LLVM_LINK_COMPONENTS for each CMakeLists.txt. 2013-12-10 11:13:32 +00:00
llvm-dis Replace the F_Binary flag with a F_Text one. 2014-02-24 18:20:12 +00:00
llvm-dwarfdump llvm-dwarfdump: Support for debug_line.dwo section for file names for type units under fission. 2014-02-24 23:58:54 +00:00
llvm-extract Make DataLayout a plain object, not a pass. 2014-02-25 17:30:31 +00:00
llvm-jitlistener Manually update the dependencies in the Makefiles. It turns out that all 2013-03-26 03:45:47 +00:00
llvm-link Replace the F_Binary flag with a F_Text one. 2014-02-24 18:20:12 +00:00
llvm-lto Replace the F_Binary flag with a F_Text one. 2014-02-24 18:20:12 +00:00
llvm-mc Replace the F_Binary flag with a F_Text one. 2014-02-24 18:20:12 +00:00
llvm-mcmarkup MC: Simple example parser for MC assembly markup. 2012-10-31 23:24:13 +00:00
llvm-nm Move getELFDynamicSymbolIterators to a public header. 2014-02-26 12:51:19 +00:00
llvm-objdump llvm-objdump: Print x64 unwind info in executable. 2014-03-04 04:00:55 +00:00
llvm-profdata Replace the F_Binary flag with a F_Text one. 2014-02-24 18:20:12 +00:00
llvm-readobj Switch all uses of LLVM_OVERRIDE to just use 'override' directly. 2014-03-02 09:09:27 +00:00
llvm-rtdyld Simplify the handling of iterators in ObjectFile. 2014-01-30 02:49:50 +00:00
llvm-shlib Add patch level to llvm version in CMake and Autoconf 2014-03-03 15:22:00 +00:00
llvm-size Change the begin and end methods in ObjectFile to match the style guide. 2014-02-10 20:24:04 +00:00
llvm-stress Replace the F_Binary flag with a F_Text one. 2014-02-24 18:20:12 +00:00
llvm-symbolizer llvm-symbolizer: use dynamic symbol table if the regular one is stripped. 2014-02-26 13:10:01 +00:00
lto Centralize the handling of install_name and rpath. 2014-02-28 13:48:03 +00:00
macho-dump Change the begin and end methods in ObjectFile to match the style guide. 2014-02-10 20:24:04 +00:00
msbuild MSBuild integration: get the LibraryPath right (PR18707) 2014-02-13 22:01:35 +00:00
obj2yaml Change the begin and end methods in ObjectFile to match the style guide. 2014-02-10 20:24:04 +00:00
opt Use DataLayout from the module when easily available. 2014-02-25 23:25:17 +00:00
yaml2obj llvm/tools: Prune redundant target_link_libraries. 2014-01-31 17:40:06 +00:00
CMakeLists.txt PGO: llvm-profdata: tool for merging profiles 2014-02-17 23:22:49 +00:00
LLVMBuild.txt PGO: llvm-profdata: tool for merging profiles 2014-02-17 23:22:49 +00:00
Makefile PGO: llvm-profdata: tool for merging profiles 2014-02-17 23:22:49 +00:00