[llvm-commits] [llvm] r170793 - /llvm/trunk/lib/MC/MCAssembler.cpp

Eli Bendersky eliben at google.com
Thu Dec 20 14:51:52 PST 2012


Author: eliben
Date: Thu Dec 20 16:51:52 2012
New Revision: 170793

URL: http://llvm.org/viewvc/llvm-project?rev=170793&view=rev
Log:
Fix an unitialized member variable that may have caused sporadic failures
for code that wasn't even in bundling mode.

Modified:
    llvm/trunk/lib/MC/MCAssembler.cpp

Modified: llvm/trunk/lib/MC/MCAssembler.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/MC/MCAssembler.cpp?rev=170793&r1=170792&r2=170793&view=diff
==============================================================================
--- llvm/trunk/lib/MC/MCAssembler.cpp (original)
+++ llvm/trunk/lib/MC/MCAssembler.cpp Thu Dec 20 16:51:52 2012
@@ -232,7 +232,8 @@
                          MCCodeEmitter &Emitter_, MCObjectWriter &Writer_,
                          raw_ostream &OS_)
   : Context(Context_), Backend(Backend_), Emitter(Emitter_), Writer(Writer_),
-    OS(OS_), RelaxAll(false), NoExecStack(false), SubsectionsViaSymbols(false) {
+    OS(OS_), BundleAlignSize(0), RelaxAll(false), NoExecStack(false),
+    SubsectionsViaSymbols(false) {
 }
 
 MCAssembler::~MCAssembler() {





More information about the llvm-commits mailing list