aboutsummaryrefslogtreecommitdiff
path: root/llvm/utils/FileCheck/FileCheck.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2010-11-13 22:57:37 +0000
committerGreg Clayton <gclayton@apple.com>2010-11-13 22:57:37 +0000
commitba2d22d8ee349923f86ac13dddccf4baf048fc1c (patch)
tree2bbfe0a44d81cad6c434b3a7682013994ab5390f /llvm/utils/FileCheck/FileCheck.cpp
parente988bdac44a54ffdcdee4a2dc3d432ea3586acfb (diff)
downloadllvm-ba2d22d8ee349923f86ac13dddccf4baf048fc1c.zip
llvm-ba2d22d8ee349923f86ac13dddccf4baf048fc1c.tar.gz
llvm-ba2d22d8ee349923f86ac13dddccf4baf048fc1c.tar.bz2
Fixed an issue where we might not find global variables by name when we have
a debug map with DWARF in the .o files due to the attemted shortcut that was being taken where the global variables were being searched for by looking in the symbol table. The problem with the symbols in the symbol table is we don't break apart the symbol names for symbols when they are mangled into basename and the fully mangled name since this would take a lot of CPU time to chop up the mangled names and try and find the basenames. The DWARF info typically has this broken up for us where the basename of the variable is in a the DW_AT_name attribute, and the mangled name is in the DW_AT_MIPS_linkage_name attribute. Now we correctly find globals by searching all OSO's for the information so we can take advantage of this split information. llvm-svn: 119012
Diffstat (limited to 'llvm/utils/FileCheck/FileCheck.cpp')
0 files changed, 0 insertions, 0 deletions