[PATCH] D59433: Fix UUID decoding from minidump files.
Shafik Yaghmour via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 21 10:23:37 PDT 2019
shafik added a comment.
Herald added a subscriber: ormris.
It looks like this commit introduced undefined behavior via a misaligned load see this log from lldb sanitized bot on green dragon
http://lab.llvm.org:8080/green/view/LLDB/job/lldb-sanitized/2050/testReport/junit/lldb-Suite/functionalities_postmortem_minidump-new/TestMiniDumpUUID_py/
Summary:
/Users/buildslave/jenkins/workspace/lldb-sanitized/llvm/lib/Support/ConvertUTF.cpp:259:14: runtime error: load of misaligned address 0x61700018f671 for type 'const llvm::UTF16' (aka 'const unsigned short'), which requires 2 byte alignment
0x61700018f671: note: pointer points here
0c 00 00 00 2f 00 74 00 6d 00 70 00 2f 00 62 00 52 53 44 53 0a 14 1e 28 32 3c 46 50 5a 64 6e 78
^
SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior /Users/buildslave/jenkins/workspace/lldb-sanitized/llvm/lib/Support/ConvertUTF.cpp:259:14 in
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D59433/new/
https://reviews.llvm.org/D59433
More information about the llvm-commits
mailing list