[llvm] r232661 - Fix use of uninitialized valued.

Rafael Espindola rafael.espindola at gmail.com
Wed Mar 18 12:49:29 PDT 2015


Author: rafael
Date: Wed Mar 18 14:49:29 2015
New Revision: 232661

URL: http://llvm.org/viewvc/llvm-project?rev=232661&view=rev
Log:
Fix use of uninitialized valued.

Should bring the bots back.

Modified:
    llvm/trunk/include/llvm/Support/TargetRegistry.h

Modified: llvm/trunk/include/llvm/Support/TargetRegistry.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/TargetRegistry.h?rev=232661&r1=232660&r2=232661&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/TargetRegistry.h (original)
+++ llvm/trunk/include/llvm/Support/TargetRegistry.h Wed Mar 18 14:49:29 2015
@@ -235,8 +235,9 @@ namespace llvm {
 
   public:
     Target()
-        : NullTargetStreamerCtorFn(nullptr), AsmTargetStreamerCtorFn(nullptr),
-          MCRelocationInfoCtorFn(nullptr), MCSymbolizerCtorFn(nullptr) {}
+        : MCObjectStreamerCtorFn(nullptr), NullTargetStreamerCtorFn(nullptr),
+          AsmTargetStreamerCtorFn(nullptr), MCRelocationInfoCtorFn(nullptr),
+          MCSymbolizerCtorFn(nullptr) {}
 
     /// @name Target Information
     /// @{





More information about the llvm-commits mailing list