llvm-project/lldb/source/Core
Jason Molenda bbef401896 Change DataExtractor's ReadInt* and ReadSwapInt* routines, as well as
GetU32 and GetU64, to use memcpy to copy bytes into a local buffer instead
of having a (uint64_t *) etc local variable, pointing to the address, and
dereferencing it.  If compiled on a CPU where data alignment is required 
(e.g. the LDM instruction on armv7) and we try to GetU64 out of a mmap'ed 
DWARF file, that 8 byte quantity may not be world aligned and the program
can get an unaligned memory access fault.

<rdar://problem/15849231> 

llvm-svn: 200069
2014-01-25 05:12:35 +00:00
..
Address.cpp Get the breakpoint setting, and the Mac OS X DYLD trampolines and expression evaluator to handle Indirect 2014-01-10 23:46:59 +00:00
AddressRange.cpp Resolve printf formatting warnings on Linux: 2012-11-29 21:49:15 +00:00
AddressResolver.cpp
AddressResolverFileLine.cpp <rdar://problem/13521159> 2013-03-27 23:08:40 +00:00
AddressResolverName.cpp <rdar://problem/11398407> 2013-05-18 00:11:21 +00:00
ArchSpec.cpp Add support for Haswell on x86_64. 2014-01-22 23:42:03 +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 <rdar://problem/13521159> 2013-03-27 23:08:40 +00:00
CMakeLists.txt Convert to UNIX line endings. 2013-09-25 10:37:32 +00:00
Communication.cpp MingW compilation (windows). Includes various refactoring to improve portability. 2013-08-23 12:44:05 +00:00
Connection.cpp
ConnectionFileDescriptor.cpp Fixed the Visual Studio Windows build 2014-01-13 14:55:15 +00:00
ConnectionMachPort.cpp Fix some names in the wake of my Mach-O changes to LLVM. 2013-08-27 05:04:57 +00:00
ConnectionSharedMemory.cpp MingW compilation (windows). Includes various refactoring to improve portability. 2013-08-23 12:44:05 +00:00
ConstString.cpp Changed the bool conversion operator on ConstString 2013-10-03 22:27:29 +00:00
DataBufferHeap.cpp <rdar://problem/14521548> 2013-07-24 18:17:35 +00:00
DataBufferMemoryMap.cpp On Windows MapViewOfFile requires the offset to be aligned on the system dwAllocationGranularity 2013-09-26 18:52:08 +00:00
DataEncoder.cpp Fixed the ValidOffsetForDataOfSize() to use simpler logic. Fixed DataExtractor::BytesLeft() to return the correct value. 2013-03-21 00:29:45 +00:00
DataExtractor.cpp Change DataExtractor's ReadInt* and ReadSwapInt* routines, as well as 2014-01-25 05:12:35 +00:00
Debugger.cpp Fixed internal code to not link against and code from "lldb/API/*". 2013-12-02 19:35:49 +00:00
Disassembler.cpp Handle endianness in the Opcode class 2013-12-09 19:45:33 +00:00
DynamicLoader.cpp <rdar://problem/13854277> 2013-05-10 21:47:16 +00:00
EmulateInstruction.cpp Roll back the changes I made in r193907 which created a new Frame 2013-11-04 09:33:30 +00:00
Error.cpp Added a 'jump' command, similar to GDBs. 2013-09-12 02:20:34 +00:00
Event.cpp Improve the broadcast event dumping. 2012-10-29 18:08:18 +00:00
FileLineResolver.cpp Changed the bool conversion operator on ConstString 2013-10-03 22:27:29 +00:00
FileSpecList.cpp <rdar://problem/13069948> 2013-01-25 18:06:21 +00:00
History.cpp Resolve printf formatting warnings on Linux: 2012-11-29 21:49:15 +00:00
InputReader.cpp Fix Linux build warnings due to redefinition of macros: 2012-12-05 00:20:57 +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 Sort out a number of mismatched integer types in order to cut down the number of compiler warnings. 2013-06-19 19:04:53 +00:00
Log.cpp Change a printf() formatter to use %d for a uint32_t. 2013-09-11 21:00:37 +00:00
Makefile Remove lldb's custom copy of the C++ demangler, used only on Mac 2013-07-03 04:52:51 +00:00
Mangled.cpp Updated to latest and greatest demangler sources. 2014-01-23 22:12:54 +00:00
Module.cpp For logical backtrace work, lldb needs to track Module unloads etc & symoblicate an address based on a point in time 2013-12-06 01:12:00 +00:00
ModuleChild.cpp <rdar://problem/10103468> 2012-02-24 01:59:29 +00:00
ModuleList.cpp Added a 'jump' command, similar to GDBs. 2013-09-12 02:20:34 +00:00
Opcode.cpp Handle endianness in the Opcode class 2013-12-09 19:45:33 +00:00
PluginManager.cpp Add a new system runtime plugin type - just the top level 2013-11-05 03:57:19 +00:00
RegisterValue.cpp RegisterValues can now report their contents as 2013-04-30 21:41:44 +00:00
RegularExpression.cpp <rdar://problem/13966084> 2013-05-23 20:27:15 +00:00
Scalar.cpp Check for division by zero when performing modulus 2013-08-08 17:57:00 +00:00
SearchFilter.cpp Changed the bool conversion operator on ConstString 2013-10-03 22:27:29 +00:00
Section.cpp For logical backtrace work, lldb needs to track Module unloads etc & symoblicate an address based on a point in time 2013-12-06 01:12:00 +00:00
SourceManager.cpp Fix a bunch of compile time warnings and a build failure on ubuntu. 2013-08-30 17:50:57 +00:00
State.cpp More Linux warnings fixes (remove default labels as needed): 2012-12-07 20:51:09 +00:00
Stream.cpp <rdar://problem/13069948> 2013-01-25 18:06:21 +00:00
StreamAsynchronousIO.cpp After discussing with Chris Lattner, we require C++11, so lets get rid of the macros and just use C++11. 2013-04-18 22:45:39 +00:00
StreamCallback.cpp <rdar://problem/13069948> 2013-01-25 18:06:21 +00:00
StreamFile.cpp Expose SBPlatform through the public API. 2013-11-20 21:07:01 +00:00
StreamGDBRemote.cpp merge lldb-platform-work branch (and assorted fixes) into trunk 2013-08-26 23:57:52 +00:00
StreamString.cpp <rdar://problem/13069948> 2013-01-25 18:06:21 +00:00
StringList.cpp Sort out a number of mismatched integer types in order to cut down the number of compiler warnings. 2013-06-19 19:04:53 +00:00
Timer.cpp MingW compilation (windows). Includes various refactoring to improve portability. 2013-08-23 12:44:05 +00:00
UUID.cpp Added a way to extract the module specifications from a file. A module specification is information that is required to describe a module (executable, shared library, object file, ect). This information includes host path, platform path (remote path), symbol file path, UUID, object name (for objects in .a files for example you could have an object name of "foo.o"), and target triple. Module specification can be used to create a module, or used to add a module to a target. A list of module specifications can be used to enumerate objects in container objects (like universal mach files and BSD archive files). 2013-07-08 22:22:41 +00:00
UserID.cpp Implemented a types.py module that allows types to be inspected for padding. 2013-06-19 21:50:28 +00:00
UserSettingsController.cpp Fix Linux build warnings due to redefinition of macros: 2012-12-05 00:20:57 +00:00
VMRange.cpp <rdar://problem/13069948> 2013-01-25 18:06:21 +00:00
Value.cpp For logical backtrace work, lldb needs to track Module unloads etc & symoblicate an address based on a point in time 2013-12-06 01:12:00 +00:00
ValueObject.cpp Don't copy entire value into m_data unless we need to. If we did this and the entire variable failed to be read, we wouldn't be able to display any actual values that were in good memory. This will also make things more efficient by not have every struct/union/class/array copy its entire value into a ValueObject.m_data even though no one was using it. 2014-01-23 22:55:05 +00:00
ValueObjectCast.cpp Huge change to clean up types. 2013-07-11 22:46:58 +00:00
ValueObjectChild.cpp Don't copy entire value into m_data unless we need to. If we did this and the entire variable failed to be read, we wouldn't be able to display any actual values that were in good memory. This will also make things more efficient by not have every struct/union/class/array copy its entire value into a ValueObject.m_data even though no one was using it. 2014-01-23 22:55:05 +00:00
ValueObjectConstResult.cpp Huge change to clean up types. 2013-07-11 22:46:58 +00:00
ValueObjectConstResultChild.cpp Huge change to clean up types. 2013-07-11 22:46:58 +00:00
ValueObjectConstResultImpl.cpp Huge change to clean up types. 2013-07-11 22:46:58 +00:00
ValueObjectDynamicValue.cpp Further fixes to the dynamic type system prompted by ObjCDataFormatterTestCase.test_nserror_with_dsym_and_run_command 2013-10-31 22:42:00 +00:00
ValueObjectList.cpp <rdar://problem/13069948> 2013-01-25 18:06:21 +00:00
ValueObjectMemory.cpp Huge change to clean up types. 2013-07-11 22:46:58 +00:00
ValueObjectRegister.cpp Roll back the changes I made in r193907 which created a new Frame 2013-11-04 09:33:30 +00:00
ValueObjectSyntheticFilter.cpp <rdar://problem/15530080> 2013-11-22 00:02:13 +00:00
ValueObjectVariable.cpp Made sure that ValueObjectVariable actually 2014-01-18 01:13:50 +00:00