[llvm] r194284 - Fix some minor issues with r194282 to get the tree healthy again.

Lang Hames lhames at gmail.com
Fri Nov 8 14:30:52 PST 2013


Author: lhames
Date: Fri Nov  8 16:30:52 2013
New Revision: 194284

URL: http://llvm.org/viewvc/llvm-project?rev=194284&view=rev
Log:
Fix some minor issues with r194282 to get the tree healthy again.


Modified:
    llvm/trunk/lib/CodeGen/StackMaps.cpp

Modified: llvm/trunk/lib/CodeGen/StackMaps.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/StackMaps.cpp?rev=194284&r1=194283&r2=194284&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/StackMaps.cpp (original)
+++ llvm/trunk/lib/CodeGen/StackMaps.cpp Fri Nov  8 16:30:52 2013
@@ -15,6 +15,7 @@
 #include "llvm/CodeGen/MachineInstr.h"
 #include "llvm/MC/MCContext.h"
 #include "llvm/MC/MCExpr.h"
+#include "llvm/MC/MCObjectFileInfo.h"
 #include "llvm/MC/MCSectionMachO.h"
 #include "llvm/MC/MCStreamer.h"
 #include "llvm/Support/Debug.h"
@@ -97,7 +98,7 @@ void StackMaps::serializeToStackMapSecti
 
   // Create the section.
   const MCSection *StackMapSection =
-    OutContext.getObjectFileInfo().getStackMapSection();
+    OutContext.getObjectFileInfo()->getStackMapSection();
   AP.OutStreamer.SwitchSection(StackMapSection);
 
   // Emit a dummy symbol to force section inclusion.





More information about the llvm-commits mailing list