llvm-project/lldb/source
Fred Riss 87183b1a75 [lldb] Only override target arch if it is compatible
It looks like the goal of this code is to provide a more precise
architecture definition for the target when attaching to a process. When
attaching to a foreign debugserver, you might get into a situation where
the active (host) platform will give you bogus information on the target
process.

This change allows the platform to override the target arch only with a
compatible architecture. This fixes TestTargetXMLArch.py on Apple
Silicon. Another alternative would be to just fail in this scenario and
update the test(s).
2021-04-14 12:14:25 -07:00
..
API [lldb] Prevent that LLDB randomly crashes in CommandLineParser::addOption by initializing LLVM's command line parser 2021-04-01 20:17:54 +02:00
Breakpoint Make the stop-on-sharedlibrary-events setting work. 2021-03-24 11:15:11 -07:00
Commands [lldb] Fix bug where memory read --outfile is not truncating the file 2021-04-06 09:16:28 -07:00
Core [trace][intel-pt] Implement trace start and trace stop 2021-03-30 17:31:37 -07:00
DataFormatters [lldb][NFC] Give CompilerType's IsArrayType/IsVectorType/IsBlockPointerType out-parameters default values 2021-02-23 11:15:31 +01:00
Expression Teach DWARFExpression about DWARF 4+ Location Descriptions 2021-03-23 10:29:51 -07:00
Host [lldb] Pretend host architecture is arm64 on AS 2021-04-13 18:57:23 -07:00
Initialization [lldb] Fix shared library directory computation on windows 2021-02-18 15:37:52 +01:00
Interpreter [trace][intel-pt] Implement trace start and trace stop 2021-03-30 17:31:37 -07:00
Plugins [lldb] Move QThreadSuffixSupported and QListThreadsInStopReply into llgs 2021-04-14 21:08:55 +02:00
Symbol Fix "image lookup --address" Summary results for inline functions. 2021-04-01 11:36:26 -07:00
Target [lldb] Only override target arch if it is compatible 2021-04-14 12:14:25 -07:00
Utility [SystemZ][z/OS][Windows] Add new OF_TextWithCRLF flag and use this flag instead of OF_Text 2021-04-06 07:23:31 -04:00
CMakeLists.txt Remove HAVE_VCS_VERSION_INC, not needed 2020-10-29 13:09:05 -07:00
lldb.cpp [lldb] Reinstate support for LLDB_VERSION_STRING 2021-02-22 16:56:00 -08:00