projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
852e3b2
)
DebugInfo: Fix msan use-of-uninitialized exposed by r374600
author
David Blaikie
<dblaikie@gmail.com>
Sat, 12 Oct 2019 00:27:12 +0000
(
00:27
+0000)
committer
David Blaikie
<dblaikie@gmail.com>
Sat, 12 Oct 2019 00:27:12 +0000
(
00:27
+0000)
llvm-svn: 374619
llvm/lib/DebugInfo/DWARF/DWARFDebugLoc.cpp
patch
|
blob
|
history
diff --git
a/llvm/lib/DebugInfo/DWARF/DWARFDebugLoc.cpp
b/llvm/lib/DebugInfo/DWARF/DWARFDebugLoc.cpp
index
9dd7d97
..
f5235e2
100644
(file)
--- a/
llvm/lib/DebugInfo/DWARF/DWARFDebugLoc.cpp
+++ b/
llvm/lib/DebugInfo/DWARF/DWARFDebugLoc.cpp
@@
-90,6
+90,7
@@
DWARFDebugLoc::parseOneLocationList(const DWARFDataExtractor &Data,
uint64_t *Offset) {
LocationList LL;
LL.Offset = *Offset;
+ AddressSize = Data.getAddressSize();
DataExtractor::Cursor C(*Offset);
// 2.6.2 Location Lists