1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/tools/llvm-xray
Alexey Lapshin 279a200561 [DebugInfo] add SectionedAddress to DebugInfo interfaces.
That patch is the fix for https://bugs.llvm.org/show_bug.cgi?id=40703
   "wrong line number info for obj file compiled with -ffunction-sections"
   bug. The problem happened with only .o files. If object file contains
   several .text sections then line number information showed incorrectly.
   The reason for this is that DwarfLineTable could not detect section which
   corresponds to specified address(because address is the local to the
   section). And as the result it could not select proper sequence in the
   line table. The fix is to pass SectionIndex with the address. So that it
   would be possible to differentiate addresses from various sections. With
   this fix llvm-objdump shows correct line numbers for disassembled code.

   Differential review: https://reviews.llvm.org/D58194

llvm-svn: 354972
2019-02-27 13:17:36 +00:00
..
CMakeLists.txt
func-id-helper.cpp [DebugInfo] add SectionedAddress to DebugInfo interfaces. 2019-02-27 13:17:36 +00:00
func-id-helper.h
llvm-xray.cpp
trie-node.h
xray-account.cpp
xray-account.h
xray-color-helper.cpp
xray-color-helper.h
xray-converter.cpp
xray-converter.h
xray-extract.cpp
xray-fdr-dump.cpp
xray-graph-diff.cpp
xray-graph-diff.h
xray-graph.cpp
xray-graph.h
xray-registry.cpp
xray-registry.h
xray-stacks.cpp