hanchenye-llvm-project/lldb
Pavel Labath d2042d3dd7 DWARFASTParserClang: Unify compilation unit language handling
Summary:
The function was not being consistent in how it retrieved the language
of the current compile unit. Sometimes it did so from the lldb CU
object, and sometimes from the DWARF die. This patch unifies the
handling on the latter. The reason for choosing the DWARF method is
because I'd eventually like to stop creating lldb CUs for dwarf type
units (and so this code needs to would need to work without them).

Reviewers: clayborg, JDevlieghere, aprantl

Subscribers: jdoerfert, lldb-commits

Differential Revision: https://reviews.llvm.org/D62481

llvm-svn: 361939
2019-05-29 09:32:59 +00:00
..
cmake build: only search for the needed python type 2019-05-29 02:26:29 +00:00
docs Update list of supported architectures. 2019-05-17 17:05:23 +00:00
examples [crashlog] Use loads() instead of readPlistFromString() for python 3. 2019-05-18 01:57:12 +00:00
include/lldb [DWARFExpression] Remove ctor that takes just a compile unit. 2019-05-28 17:34:05 +00:00
lit DWARF: Fix address range support in mixed 4+5 scenario 2019-05-29 09:22:36 +00:00
lldb.xcodeproj Revert Xcode scheme changes from 361675 2019-05-24 22:12:01 +00:00
lldb.xcworkspace Remove accidentally commited file in xcshareddata 2019-02-05 23:35:01 +00:00
packages/Python/lldbsuite [Test] Fix conflicting test names. 2019-05-21 20:55:00 +00:00
resources
scripts Make SBDebugger.RunCommandInterpreter callable from Python. 2019-05-15 00:08:55 +00:00
source DWARFASTParserClang: Unify compilation unit language handling 2019-05-29 09:32:59 +00:00
test [CMake] Folder structure for generated Xcode project to cover more targets 2019-05-28 09:29:05 +00:00
third_party/Python/module [lldb/thirdparty] Remove unneeded files, asked by Jonas. 2019-03-12 20:41:36 +00:00
tools Fix 'warning: format specifies type 'int' but the argument has type 'MIuint' (aka 'unsigned long long') [-Wformat]' with Clang 8.0 2019-05-28 18:36:11 +00:00
unittests Fix IPv6 support on lldb-server platform 2019-05-28 23:26:32 +00:00
utils [CMake] Folder structure for generated Xcode project to cover more targets 2019-05-28 09:29:05 +00:00
.arcconfig
.clang-format
.gitignore Add .noindex to the gitignore 2019-04-05 17:57:42 +00:00
CMakeLists.txt [CMake] Folder structure for generated Xcode project to cover more targets 2019-05-28 09:29:05 +00:00
CODE_OWNERS.txt
INSTALL.txt Fix build URL in new LLDB website 2019-05-01 09:55:00 +00:00
LICENSE.TXT
use_lldb_suite_root.py