hanchenye-llvm-project/lldb
Jan Kratochvil 4c993ce187 symbols.enable-external-lookup=false on all hosts (not just OSX)
There is already in use:
	lit/lit-lldb-init:
		settings set symbols.enable-external-lookup false
	packages/Python/lldbsuite/test/lldbtest.py:
		self.runCmd('settings set symbols.enable-external-lookup false')

But those are not in effect during MI part of the testsuite. Another problem is
that symbols.enable-external-lookup (read by GetEnableExternalLookup) has been
currently read only by LocateMacOSXFilesUsingDebugSymbols and therefore it had
no effect on Linux.

On Red Hat platforms (Fedoras, RHEL-7) there is DWZ in use and so
MiSyntaxTestCase-test_lldbmi_output_grammar FAILs due to:
	AssertionError: error: inconsistent pattern ''^.+?\n'' for state 0x5f
	(matched string: warning: (x86_64) /lib64/libstdc++.so.6 unsupported
	DW_FORM values: 0x1f20 0x1f21
It is the only testcase with this error. It happens due to:
	(lldb) target create "/lib64/libstdc++.so.6"
	Current executable set to '/lib64/libstdc++.so.6' (x86_64).
	(lldb) b main
	warning: (x86_64) /lib64/libstdc++.so.6 unsupported DW_FORM values: 0x1f20 0x1f21
	Breakpoint 1: no locations (pending).
	WARNING:  Unable to resolve breakpoint to any actual locations.
which happens only with gcc-base-debuginfo rpm installed (similarly for other packages).

It should also speed up the testsuite as it no longer needs to read
/usr/lib/debug symbols which have no effect (and should not have any effect) on
the testsuite results.

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

llvm-svn: 350368
2019-01-03 23:11:06 +00:00
..
cmake [cmake] Suppress 'warning C4201: nonstandard extension used: nameless struct/union' on Windows 2018-12-21 23:59:24 +00:00
docs Add a description of the similar packets defined in the 2018-12-16 18:44:54 +00:00
examples Fix lldb's macosx/heap.py cstr command. 2018-12-17 18:21:51 +00:00
include/lldb Fix some -Wreorder warnings introduced in r350274 2019-01-03 11:31:50 +00:00
lit [NativePDB] Implement ParseDeclsForContext. 2019-01-02 18:33:54 +00:00
lldb.xcodeproj Remove Range.* from Xcode project 2019-01-02 22:23:51 +00:00
lldb.xcworkspace
packages/Python/lldbsuite symbols.enable-external-lookup=false on all hosts (not just OSX) 2019-01-03 23:11:06 +00:00
resources Fix up Info.plist when building LLDB.framework with CMake 2018-06-19 02:59:30 +00:00
scripts [lldb] Add a "display-recognized-arguments" target setting to show recognized arguments by default 2018-12-20 23:38:19 +00:00
source symbols.enable-external-lookup=false on all hosts (not just OSX) 2019-01-03 23:11:06 +00:00
test Revert "[CMake] Streamline code signing for debugserver and pass entitlements to extended llvm_codesign" 2018-11-27 00:25:49 +00:00
third_party/Python/module [dotest] Consider unexpected passes as failures. 2018-12-20 20:44:23 +00:00
tools [Driver] Remove unused imports 2019-01-02 22:38:16 +00:00
unittests Simplify ObjectFile::GetArchitecture 2019-01-03 10:37:19 +00:00
utils Fix typos. 2018-10-04 22:33:39 +00:00
www Document the DBGSourcePathRemapping dictionary that may be 2018-12-17 22:25:54 +00:00
.arcconfig
.clang-format
.gitignore
CMakeLists.txt [CMake] Don't require libcxxabi on darwin 2018-12-18 21:40:05 +00:00
CODE_OWNERS.txt Fix/unify the spelling of Objective-C. 2018-06-13 16:21:24 +00:00
INSTALL.txt
LICENSE.TXT
use_lldb_suite_root.py