hanchenye-llvm-project/lldb/source
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
..
API [lldb] Add a "display-recognized-arguments" target setting to show recognized arguments by default 2018-12-20 23:38:19 +00:00
Breakpoint Simplify Boolean expressions 2018-12-15 00:15:33 +00:00
Commands "help finish" tells you it is an alias. "help fin" doesn't. 2018-12-21 01:45:28 +00:00
Core symbols.enable-external-lookup=false on all hosts (not just OSX) 2019-01-03 23:11:06 +00:00
DataFormatters Simplify Boolean expressions 2018-12-15 00:15:33 +00:00
Expression Simplify ObjectFile::GetArchitecture 2019-01-03 10:37:19 +00:00
Host symbols.enable-external-lookup=false on all hosts (not just OSX) 2019-01-03 23:11:06 +00:00
Initialization [Reproducers] Change how reproducers are initialized. 2018-12-03 17:28:29 +00:00
Interpreter [CommandInterpreter] Simplify PreprocessCommand. (NFCI) 2018-12-30 17:56:30 +00:00
Plugins PECOFF: Remove tabs introduced accidentally in r350094 2019-01-03 12:07:38 +00:00
Symbol Simplify ObjectFile::GetArchitecture 2019-01-03 10:37:19 +00:00
Target symbols.enable-external-lookup=false on all hosts (not just OSX) 2019-01-03 23:11:06 +00:00
Utility [RegisterValue] Rewrite operator!= in terms of operator==. NFCI. 2018-12-29 05:05:23 +00:00
CMakeLists.txt
lldb.cpp Run clang-format on lldb.cpp 2017-11-02 16:56:52 +00:00