summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWeiming Zhao <weimingz@codeaurora.org>2016-05-08 05:04:47 +0000
committerWeiming Zhao <weimingz@codeaurora.org>2016-05-08 05:04:47 +0000
commit453b79013e0e9ebdfea29168c64b67ee48f2c039 (patch)
tree546e7c792f063101306b5a73f1648b5c6db1787c
parented39d150f5b21c44b27331b25fa8e55b1794df3c (diff)
downloadbcm5719-llvm-453b79013e0e9ebdfea29168c64b67ee48f2c039.tar.gz
bcm5719-llvm-453b79013e0e9ebdfea29168c64b67ee48f2c039.zip
Fix use-of-uninitialized-value of ARMMachineFunctionInfo
Summary: Explicitly initialize ArgumentStackSize to prevent the msan failure. Reviewers: rengolin Subscribers: aemerson, rengolin, llvm-commits Differential Revision: http://reviews.llvm.org/D20051 llvm-svn: 268868
-rw-r--r--llvm/lib/Target/ARM/ARMMachineFunctionInfo.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/ARM/ARMMachineFunctionInfo.cpp b/llvm/lib/Target/ARM/ARMMachineFunctionInfo.cpp
index 71ad7a4a732..b6dee9ff838 100644
--- a/llvm/lib/Target/ARM/ARMMachineFunctionInfo.cpp
+++ b/llvm/lib/Target/ARM/ARMMachineFunctionInfo.cpp
@@ -21,4 +21,4 @@ ARMFunctionInfo::ARMFunctionInfo(MachineFunction &MF)
FramePtrSpillOffset(0), GPRCS1Offset(0), GPRCS2Offset(0), DPRCSOffset(0),
GPRCS1Size(0), GPRCS2Size(0), DPRCSSize(0),
PICLabelUId(0), VarArgsFrameIndex(0), HasITBlocks(false),
- IsSplitCSR(false) {}
+ ArgumentStackSize(0), IsSplitCSR(false) {}
OpenPOWER on IntegriCloud