summaryrefslogtreecommitdiffstats
path: root/clang/unittests/Format/FormatTest.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2019-03-20 16:50:17 +0000
committerGreg Clayton <gclayton@apple.com>2019-03-20 16:50:17 +0000
commit621e8b438701e928b4f3ac9044c47925fe0e19f9 (patch)
tree93577931e8a995703e6b18cdbe48f4a91198e354 /clang/unittests/Format/FormatTest.cpp
parenta2250e923b3926471c9dfdf163c4b134b0c2918a (diff)
downloadbcm5719-llvm-621e8b438701e928b4f3ac9044c47925fe0e19f9.tar.gz
bcm5719-llvm-621e8b438701e928b4f3ac9044c47925fe0e19f9.zip
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
Diffstat (limited to 'clang/unittests/Format/FormatTest.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud