Make helpers static. Add missing include so LLVMInitializeObjCARCOpts gets C linkage.
[oota-llvm.git] / lib / MC / MCObjectStreamer.cpp
index 5aa4b40a6dd1f88a52450daed02580a870efaa55..fe435061eb40440486356708e0037ead56842f28 100644 (file)
@@ -224,7 +224,7 @@ void MCObjectStreamer::EmitInstToFragment(const MCInst &Inst) {
   IF->getContents().append(Code.begin(), Code.end());
 }
 
-const char *BundlingNotImplementedMsg =
+static const char *BundlingNotImplementedMsg =
   "Aligned bundling is not implemented for this object format";
 
 void MCObjectStreamer::EmitBundleAlignMode(unsigned AlignPow2) {