llvm-project/lldb/source/Host/common
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
..
Editline.cpp Simplify Boolean expressions 2018-12-15 00:15:33 +00:00
File.cpp Remove comments after header includes. 2018-11-11 23:16:43 +00:00
FileCache.cpp Simplify Boolean expressions 2018-12-15 00:15:33 +00:00
FileSystem.cpp [FileSystem] Migrate CommandCompletions 2018-12-04 17:58:21 +00:00
GetOptInc.cpp [lldb] Fix typos in file headers 2016-11-26 05:23:44 +00:00
Host.cpp Do not use PATH_MAX with SmallString 2018-12-10 17:23:28 +00:00
HostInfoBase.cpp [Reproducers] Change how reproducers are initialized. 2018-12-03 17:28:29 +00:00
HostNativeThreadBase.cpp [Windows] Fix threads comparison on Windows 2018-10-18 07:52:56 +00:00
HostProcess.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
HostThread.cpp [Windows] Fix threads comparison on Windows 2018-10-18 07:52:56 +00:00
LockFileBase.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
MainLoop.cpp Fix typos. 2018-10-04 22:33:39 +00:00
MonitoringProcessLauncher.cpp [FileSystem] Migrate MonitoringProcessLauncher 2018-12-03 22:41:32 +00:00
NativeProcessProtocol.cpp Fix log statement in r346093 2018-11-04 12:54:29 +00:00
NativeRegisterContext.cpp Move RegisterValue,Scalar,State from Core to Utility 2018-08-07 11:07:21 +00:00
NativeThreadProtocol.cpp NativeProcessProtocol: Simplify breakpoint setting code 2018-11-04 10:58:08 +00:00
NativeWatchpointList.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
OptionParser.cpp Make OptionParser::Parse() take StringRef. 2016-11-13 04:24:38 +00:00
PipeBase.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
ProcessRunLock.cpp Simplify Boolean expressions 2018-12-15 00:15:33 +00:00
PseudoTerminal.cpp [PseudoTerminal][NFC] Use llvm errno helpers 2018-09-03 14:59:57 +00:00
Socket.cpp Reflow paragraphs in comments. 2018-04-30 16:49:04 +00:00
SocketAddress.cpp Remove header grouping comments. 2018-11-11 23:17:06 +00:00
StringConvert.cpp Remove header grouping comments. 2018-11-11 23:17:06 +00:00
Symbols.cpp symbols.enable-external-lookup=false on all hosts (not just OSX) 2019-01-03 23:11:06 +00:00
TCPSocket.cpp s/LLVM_ON_WIN32/_WIN32/, lldb 2018-04-10 13:33:45 +00:00
TaskPool.cpp Remove comments after header includes. 2018-11-11 23:16:43 +00:00
Terminal.cpp Add modules support for lldb headers in include/ 2018-06-13 15:50:45 +00:00
ThreadLauncher.cpp Rename Error -> Status. 2017-05-12 04:51:55 +00:00
UDPSocket.cpp Reflow paragraphs in comments. 2018-04-30 16:49:04 +00:00
XML.cpp [NFC] Replace `compare` with (in)equality operator where applicable. 2018-12-21 22:46:10 +00:00