summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/StackMaps.cpp
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2013-11-08 22:30:52 +0000
committerLang Hames <lhames@gmail.com>2013-11-08 22:30:52 +0000
commit8a065703efaf4ee10b0ce033433d8ece463ad24b (patch)
tree1ec2d8e564cf8695872441d2b769d1022eef20cb /llvm/lib/CodeGen/StackMaps.cpp
parent56e82a080b34f6d6559257dd4f47e695e2fca006 (diff)
downloadbcm5719-llvm-8a065703efaf4ee10b0ce033433d8ece463ad24b.tar.gz
bcm5719-llvm-8a065703efaf4ee10b0ce033433d8ece463ad24b.zip
Fix some minor issues with r194282 to get the tree healthy again.
llvm-svn: 194284
Diffstat (limited to 'llvm/lib/CodeGen/StackMaps.cpp')
-rw-r--r--llvm/lib/CodeGen/StackMaps.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/StackMaps.cpp b/llvm/lib/CodeGen/StackMaps.cpp
index b6a900ab495..51580b479d8 100644
--- a/llvm/lib/CodeGen/StackMaps.cpp
+++ b/llvm/lib/CodeGen/StackMaps.cpp
@@ -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::serializeToStackMapSection() {
// Create the section.
const MCSection *StackMapSection =
- OutContext.getObjectFileInfo().getStackMapSection();
+ OutContext.getObjectFileInfo()->getStackMapSection();
AP.OutStreamer.SwitchSection(StackMapSection);
// Emit a dummy symbol to force section inclusion.
OpenPOWER on IntegriCloud