hanchenye-llvm-project/lldb/source/Core
Jason Molenda ba813dc03c Add new ArchSpec methods, IsCompatibleMatch() and IsExactMatch().
The operator== method is a synonym for IsExactMatch().  

The essential difference between these two is that IsCompatibleMatch()
will say that armv7 and armv7s are compatible and return true.
IsExactMatch() will say that armv7 and armv7s are not a match.

An armv7s cpu can run either generic armv7 binaries or armv7s binaries
(the latter being tuned for it).  When we're picking the slice of a 
universal Mach-O file to load in an armv7s Target, we need to be able to
first look for an exact cpu subtype match (armv7s == armv7s) and failing
that, looking for a slice with a compatible architecture.

Update ObjectContainerUniversalMachO::GetObjectFile to prefer an exact
match of the cpu type, falling back to a compatible match if necessary.

<rdar://problem/12593515>

llvm-svn: 167365
2012-11-04 03:20:05 +00:00
..
Address.cpp <rdar://problem/11757916> 2012-08-29 21:13:06 +00:00
AddressRange.cpp <rdar://problem/10103468> 2012-02-24 01:59:29 +00:00
AddressResolver.cpp
AddressResolverFileLine.cpp <rdar://problem/11757916> 2012-08-29 21:13:06 +00:00
AddressResolverName.cpp <rdar://problem/11757916> 2012-08-29 21:13:06 +00:00
ArchSpec.cpp Add new ArchSpec methods, IsCompatibleMatch() and IsExactMatch(). 2012-11-04 03:20:05 +00:00
Baton.cpp Don't print out the baton pointer value for simple Baton classes. 2011-06-21 20:47:20 +00:00
Broadcaster.cpp Add log entries for HijackBroadcaster() as well as RestoreBroadcaster(). 2012-03-29 20:02:33 +00:00
CXXFormatterFunctions.cpp <rdar://problem/11449953> Change Debugger::SetOutputFileHandle() so that it does not automatically initialize the script interpreter in order to transfer its output file handle to it 2012-10-29 21:18:03 +00:00
Communication.cpp Ran the sources through the compiler with -Wshadow warnings 2012-10-04 22:47:07 +00:00
Connection.cpp
ConnectionFileDescriptor.cpp Stop using the "%z" size_t modifier and cast all size_t values to uint64_t. Some platforms don't support this modification. 2012-09-18 18:04:04 +00:00
ConnectionMachPort.cpp Improved the packet throughput when debugging with GDB remote by over 3x on 2011-06-17 01:22:15 +00:00
ConnectionSharedMemory.cpp Improved the packet throughput when debugging with GDB remote by over 3x on 2011-06-17 01:22:15 +00:00
ConstString.cpp Caught two cases where we were passing a Stream* without checking for NULL 2012-11-03 00:09:46 +00:00
DataBufferHeap.cpp
DataBufferMemoryMap.cpp Ran the sources through the compiler with -Wshadow warnings 2012-10-04 22:47:07 +00:00
DataEncoder.cpp Forgot to write out the NULL terminator when putting C string value into 2011-09-01 18:13:54 +00:00
DataExtractor.cpp Change DataExtractor::Dump() to use a series of if..else if 2012-11-01 23:35:19 +00:00
DataVisualization.cpp Add LLDB_DISABLE_PYTHON around newly added methods in 2012-05-16 00:38:08 +00:00
Debugger.cpp <rdar://problem/11449953> Change Debugger::SetOutputFileHandle() so that it does not automatically initialize the script interpreter in order to transfer its output file handle to it 2012-10-29 21:18:03 +00:00
Disassembler.cpp <rdar://problem/11757916> 2012-08-29 21:13:06 +00:00
DynamicLoader.cpp The DynamicLoader plug-in instance now lives up in lldb_private::Process where 2011-02-16 04:46:07 +00:00
EmulateInstruction.cpp Stop using the "%z" size_t modifier and cast all size_t values to uint64_t. Some platforms don't support this modification. 2012-09-18 18:04:04 +00:00
Error.cpp Python summary strings: 2011-07-15 02:26:42 +00:00
Event.cpp Improve the broadcast event dumping. 2012-10-29 18:08:18 +00:00
FileLineResolver.cpp <rdar://problem/11757916> 2012-08-29 21:13:06 +00:00
FileSpecList.cpp Reimplemented the code that backed the "settings" in lldb. There were many issues with the previous implementation: 2012-08-22 17:17:09 +00:00
FormatClasses.cpp <rdar://problem/11086338> Implementing support for synthetic children generated by running C++ code instead of Python scripts ; Adding a bunch of value-generating APIs to our private code layer ; Providing synthetic children for NSArray 2012-09-13 18:27:09 +00:00
FormatManager.cpp Change DataExtractor::Dump() to use a series of if..else if 2012-11-01 23:35:19 +00:00
History.cpp I modified the StringMap that was being used to unique our debugger C strings 2011-06-09 22:34:34 +00:00
InputReader.cpp Ran the static analyzer on the codebase and found a few things. 2012-07-17 03:23:13 +00:00
InputReaderEZ.cpp Headers cleanup 2012-03-20 19:33:01 +00:00
InputReaderStack.cpp Create new class, InputReaderStack, to better handle 2011-06-02 19:18:55 +00:00
Language.cpp
Listener.cpp Fixed some logging messages. 2012-09-11 02:28:49 +00:00
Log.cpp Added a new "module" log channel which covers module creation, deletion, and common module list actions. 2012-10-08 22:41:53 +00:00
Makefile
Mangled.cpp Make size_t known before including cxxabi.h (FreeBSD fix) 2012-09-11 18:11:12 +00:00
Module.cpp <rdar://problem/12473003> 2012-10-22 16:19:56 +00:00
ModuleChild.cpp <rdar://problem/10103468> 2012-02-24 01:59:29 +00:00
ModuleList.cpp Added a new "module" log channel which covers module creation, deletion, and common module list actions. 2012-10-08 22:41:53 +00:00
Opcode.cpp Changed the Opcode::GetData() API so that it didn't 2012-08-07 01:44:58 +00:00
PluginManager.cpp Added the infrastructure necessary for plug-ins to be able to add their own settings instead of having settings added to existing ones. In particular "target.disable-kext-loading" was added to "target" where it should actually be specific to the the dynamic loader plugin. Now the plug-in manager has the ability to create settings at the root level starting with "plugin". Each plug-in type can add new sub dictionaries, and then each plug-in can register a setting dictionary under its own short name. For example the DynamicLoaderDarwinKernel plug-in now registers a setting dictionary at: 2012-10-19 18:02:49 +00:00
RegisterValue.cpp For the eEncodingIEEE754 registers in RegisterValue::SetType, 2012-09-06 02:17:36 +00:00
RegularExpression.cpp Reimplemented the code that backed the "settings" in lldb. There were many issues with the previous implementation: 2012-08-22 17:17:09 +00:00
Scalar.cpp Reverting the changes to Scalar since this class needs to follow C rules for type promotion 2012-10-24 21:42:49 +00:00
SearchFilter.cpp <rdar://problem/11757916> 2012-08-29 21:13:06 +00:00
Section.cpp Fixed an indentation issue that only shows up when dumping .o files that use linked addresses (DWARF in .o files with debug map). 2012-10-11 20:42:53 +00:00
SourceManager.cpp <rdar://problem/11757916> 2012-08-29 21:13:06 +00:00
State.cpp Fixed an issue with the pthread_setspecific() where we weren't NULL-ing out 2011-11-17 01:23:07 +00:00
Stream.cpp Include stddef.h for ptrdiff_t, GCC 4.6 doesn't include it implicitly. 2012-02-27 18:46:54 +00:00
StreamAsynchronousIO.cpp This patch captures and serializes all output being written by the 2011-05-02 20:41:46 +00:00
StreamCallback.cpp Ran the sources through the compiler with -Wshadow warnings 2012-10-04 22:47:07 +00:00
StreamFile.cpp Use Host::File in lldb_private::StreamFile and other places to cleanup host 2011-02-09 01:08:52 +00:00
StreamString.cpp Fix arch_helper() to return the list of supported architectures. 2012-05-29 20:04:10 +00:00
StringList.cpp <rdar://problem/12022079> 2012-08-23 00:22:02 +00:00
Timer.cpp Patch from Filipe Cabecinhas. 2012-04-26 17:12:07 +00:00
UUID.cpp Wrapped up the work I am going to do for now for the "add-dsym" or "target symfile add" command. 2012-09-27 22:26:11 +00:00
UserID.cpp Moved lldb::user_id_t values to be 64 bit. This was going to be needed for 2011-10-19 18:09:39 +00:00
UserSettingsController.cpp Added the infrastructure necessary for plug-ins to be able to add their own settings instead of having settings added to existing ones. In particular "target.disable-kext-loading" was added to "target" where it should actually be specific to the the dynamic loader plugin. Now the plug-in manager has the ability to create settings at the root level starting with "plugin". Each plug-in type can add new sub dictionaries, and then each plug-in can register a setting dictionary under its own short name. For example the DynamicLoaderDarwinKernel plug-in now registers a setting dictionary at: 2012-10-19 18:02:49 +00:00
VMRange.cpp
Value.cpp Fixed build warnings. 2012-10-30 23:56:14 +00:00
ValueObject.cpp Path from Ashok Thirumurthi: 2012-10-30 18:18:43 +00:00
ValueObjectCast.cpp Moving ValueObjectCast over to its own .h/.cpp files instead of sharing ValueObjectDynamic.h/.cpp 2012-10-27 02:05:48 +00:00
ValueObjectChild.cpp <rdar://problem/11113279> 2012-03-26 23:03:23 +00:00
ValueObjectConstResult.cpp Make const result value objects able to return dynamic types. 2012-07-07 01:22:45 +00:00
ValueObjectConstResultChild.cpp Redesign of the interaction between Python and frozen objects: 2011-09-06 19:20:51 +00:00
ValueObjectConstResultImpl.cpp This checking is part one of trying to add some threading safety to our 2012-02-17 07:49:44 +00:00
ValueObjectDynamicValue.cpp Moving ValueObjectCast over to its own .h/.cpp files instead of sharing ValueObjectDynamic.h/.cpp 2012-10-27 02:05:48 +00:00
ValueObjectList.cpp Added the ability to see global variables with a variable expression path so 2011-07-08 21:46:14 +00:00
ValueObjectMemory.cpp <rdar://problem/11113279> 2012-03-26 23:03:23 +00:00
ValueObjectRegister.cpp Changed register ValueObjects to report their 2012-08-24 18:21:05 +00:00
ValueObjectSyntheticFilter.cpp <rdar://problem/12523238> Commit 1 of 3 2012-10-23 19:54:09 +00:00
ValueObjectVariable.cpp Path from Ashok Thirumurthi: 2012-10-30 18:18:43 +00:00
cxa_demangle.cpp Updated the demangler to take the fix for a crasher. 2012-09-14 00:52:49 +00:00