diff options
| author | Jan Korous <jkorous@apple.com> | 2018-03-19 20:26:18 +0000 |
|---|---|---|
| committer | Jan Korous <jkorous@apple.com> | 2018-03-19 20:26:18 +0000 |
| commit | bd5ff79dd0b007489d4776ea0cb4c8cb4bed3fcd (patch) | |
| tree | 7ec5f6aa774480e9d50409e0da85ebad76d93c04 /llvm/tools/llvm-pdbutil/llvm-pdbutil.cpp | |
| parent | ee1f4586f6e8cdf29f29677c2ac89dfd9f006be0 (diff) | |
| download | bcm5719-llvm-bd5ff79dd0b007489d4776ea0cb4c8cb4bed3fcd.tar.gz bcm5719-llvm-bd5ff79dd0b007489d4776ea0cb4c8cb4bed3fcd.zip | |
[clangd] Fix undefined behavior due to misaligned type cast
The current code was casting pointer to a misaligned type which is undefined behavior.
Found by compiling with Undefined Behavior Sanitizer and running tests (check-clang-tools).
llvm-svn: 327902
Diffstat (limited to 'llvm/tools/llvm-pdbutil/llvm-pdbutil.cpp')
0 files changed, 0 insertions, 0 deletions

