[AArch64] Fix a use of uninitialized memory introduced in r203125,
authorChandler Carruth <chandlerc@gmail.com>
Mon, 10 Mar 2014 03:52:47 +0000 (03:52 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Mon, 10 Mar 2014 03:52:47 +0000 (03:52 +0000)
and caught by the MSan bootstrap build bot. This should hopefully get
the bot green at long last.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203441 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/AArch64/AArch64Subtarget.cpp

index b029c60424c214b91a1dd6c98d690c3b86526035..9140bbdb4125ec63f48131060c01fe64e7146b42 100644 (file)
@@ -30,9 +30,9 @@ void AArch64Subtarget::anchor() {}
 
 AArch64Subtarget::AArch64Subtarget(StringRef TT, StringRef CPU, StringRef FS,
                                    bool LittleEndian)
-    : AArch64GenSubtargetInfo(TT, CPU, FS), HasFPARMv8(false), HasNEON(false),
-      HasCrypto(false), TargetTriple(TT), CPUString(CPU),
-      IsLittleEndian(LittleEndian) {
+    : AArch64GenSubtargetInfo(TT, CPU, FS), ARMProcFamily(Others),
+      HasFPARMv8(false), HasNEON(false), HasCrypto(false), TargetTriple(TT),
+      CPUString(CPU), IsLittleEndian(LittleEndian) {
 
   initializeSubtargetFeatures(CPU, FS);
 }