llvm-project/lldb
Greg Clayton 621e8b4387 Fix UUID decoding from minidump files
This patch fixes:

UUIDs now don't include the age field from a PDB70 when the age is zero. Prior to this they would incorrectly contain the zero age which stopped us from being able to match up the UUID with real files.
UUIDs for Apple targets get the first 32 bit value and next two 16 bit values swapped. Breakpad incorrectly swaps these values when it creates darwin minidump files, so this must be undone so we can match up symbol files with the minidump modules.
UUIDs that are all zeroes are treated as invalid UUIDs. Breakpad will always save out a UUID, even if one wasn't available. This caused all files that have UUID values of zero to be uniqued to the first module that had a zero UUID. We now don't fill in the UUID if it is all zeroes.
Added tests for PDB70 and ELF build ID based CvRecords.

Differential Revision: https://reviews.llvm.org/D59433

llvm-svn: 356573
2019-03-20 16:50:17 +00:00
..
cmake [CMake] Set LLVM_DEFAULT_EXTERNAL_LIT in standalone build correctly on windows 2019-03-18 21:32:31 +00:00
docs Pass ConstString by value (NFC) 2019-03-06 21:22:25 +00:00
examples A target definition file that may work for 2019-03-18 21:39:54 +00:00
include/lldb [StackFrameRecognizer] Remove unneeded LLDB_DISABLE_PYTHON. 2019-03-19 17:35:37 +00:00
lit Reinitialize UnwindTable when the SymbolFile changes 2019-03-18 10:45:02 +00:00
lldb.xcodeproj Update. 2019-03-13 18:24:42 +00:00
lldb.xcworkspace Remove accidentally commited file in xcshareddata 2019-02-05 23:35:01 +00:00
packages/Python/lldbsuite Fix UUID decoding from minidump files 2019-03-20 16:50:17 +00:00
resources [CMake] Revised LLDB.framework builds 2019-01-04 12:46:50 +00:00
scripts Fix/unify SBType comparison 2019-03-13 13:45:14 +00:00
source Fix UUID decoding from minidump files 2019-03-20 16:50:17 +00:00
test [CMake] Make lldb-test-deps a dependency of check-lldb 2019-02-13 20:51:13 +00:00
third_party/Python/module [lldb/thirdparty] Remove unneeded files, asked by Jonas. 2019-03-12 20:41:36 +00:00
tools [lldb-vscode] Fix dangling pointer in request_evaluate. 2019-03-15 01:46:50 +00:00
unittests [lldb] [Reproducer] Move SBRegistry registration into declaring files 2019-03-19 17:13:13 +00:00
utils Use sys.executable in lldb-dotest 2019-02-15 07:41:17 +00:00
www Pass ConstString by value (NFC) 2019-03-06 21:22:25 +00:00
.arcconfig
.clang-format
.gitignore [dotest] Remove crashinfo hook 2018-01-10 10:18:47 +00:00
CMakeLists.txt [cmake] Move LLDB_DISABLE_LIBEDIT handling code into a central place 2019-02-28 16:04:54 +00:00
CODE_OWNERS.txt Fix/unify the spelling of Objective-C. 2018-06-13 16:21:24 +00:00
INSTALL.txt Changed builld-llvm.py to use .json files 2017-02-23 02:21:34 +00:00
LICENSE.TXT Fix typos throughout the license files that somehow I and my reviewers 2019-01-21 09:52:34 +00:00
use_lldb_suite_root.py