summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugLine.cpp
diff options
context:
space:
mode:
authorJim Ingham <jingham@apple.com>2010-09-16 00:57:33 +0000
committerJim Ingham <jingham@apple.com>2010-09-16 00:57:33 +0000
commit0909e5f4dfc41cc85c9eecf3db133c746a6d1be2 (patch)
tree9e25544e992dcfce9bd819dcd85e312d22148eca /lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugLine.cpp
parent2126aae6749334f8680499017717b3f94a346206 (diff)
downloadbcm5719-llvm-0909e5f4dfc41cc85c9eecf3db133c746a6d1be2.tar.gz
bcm5719-llvm-0909e5f4dfc41cc85c9eecf3db133c746a6d1be2.zip
Add the ability to not resolve the name passed to FileSpec. Then don't resolve the names of compilation units found in DWARF.
llvm-svn: 114054
Diffstat (limited to 'lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugLine.cpp')
-rw-r--r--lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugLine.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugLine.cpp b/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugLine.cpp
index ed658032b63..011ae1f7cb2 100644
--- a/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugLine.cpp
+++ b/lldb/source/Plugins/SymbolFile/DWARF/DWARFDebugLine.cpp
@@ -525,7 +525,9 @@ DWARFDebugLine::ParseSupportFiles(const DataExtractor& debug_line_data, const ch
}
fullpath += path;
}
- FileSpec file_spec(fullpath.c_str());
+
+ // We don't need to realpath files in the debug_line tables.
+ FileSpec file_spec(fullpath.c_str(), false);
support_files.Append(file_spec);
}
}
OpenPOWER on IntegriCloud