summaryrefslogtreecommitdiff
path: root/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
commitde753f48535fb19cdd967af3bc3a743fa2a675ff (patch)
tree880be33a23649debe8a1eb52b59abea0267190c0 /lib/CodeGen/StackMaps.cpp
parentc87e4380542c0e15cdaa480716da1434284feb93 (diff)
downloadllvm-de753f48535fb19cdd967af3bc3a743fa2a675ff.tar.gz
llvm-de753f48535fb19cdd967af3bc3a743fa2a675ff.tar.bz2
llvm-de753f48535fb19cdd967af3bc3a743fa2a675ff.tar.xz
Fix some minor issues with r194282 to get the tree healthy again.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@194284 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/StackMaps.cpp')
-rw-r--r--lib/CodeGen/StackMaps.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/CodeGen/StackMaps.cpp b/lib/CodeGen/StackMaps.cpp
index b6a900ab49..51580b479d 100644
--- a/lib/CodeGen/StackMaps.cpp
+++ b/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.