aboutsummaryrefslogtreecommitdiff
path: root/llvm/include/llvm/Target/TargetLoweringObjectFile.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/include/llvm/Target/TargetLoweringObjectFile.h')
-rw-r--r--llvm/include/llvm/Target/TargetLoweringObjectFile.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/llvm/include/llvm/Target/TargetLoweringObjectFile.h b/llvm/include/llvm/Target/TargetLoweringObjectFile.h
index ff27ceaeac35..93bfdd20e082 100644
--- a/llvm/include/llvm/Target/TargetLoweringObjectFile.h
+++ b/llvm/include/llvm/Target/TargetLoweringObjectFile.h
@@ -11,8 +11,8 @@
//
//===----------------------------------------------------------------------===//
-#ifndef LLVM_CODEGEN_TARGETLOWERINGOBJECTFILE_H
-#define LLVM_CODEGEN_TARGETLOWERINGOBJECTFILE_H
+#ifndef LLVM_TARGET_TARGETLOWERINGOBJECTFILE_H
+#define LLVM_TARGET_TARGETLOWERINGOBJECTFILE_H
#include "llvm/MC/MCObjectFileInfo.h"
#include <cstdint>
@@ -102,6 +102,10 @@ public:
const MachineBasicBlock &MBB,
const TargetMachine &TM) const;
+ virtual MCSection *
+ getUniqueSectionForFunction(const Function &F,
+ const TargetMachine &TM) const;
+
/// Classify the specified global variable into a set of target independent
/// categories embodied in SectionKind.
static SectionKind getKindForGlobal(const GlobalObject *GO,
@@ -125,8 +129,8 @@ public:
virtual MCSection *getSectionForJumpTable(const Function &F,
const TargetMachine &TM) const;
- virtual MCSection *getSectionForLSDA(const Function &F,
- const TargetMachine &TM) const {
+ virtual MCSection *getSectionForLSDA(const Function &, const MCSymbol &,
+ const TargetMachine &) const {
return LSDASection;
}
@@ -278,4 +282,4 @@ protected:
} // end namespace llvm
-#endif // LLVM_CODEGEN_TARGETLOWERINGOBJECTFILE_H
+#endif // LLVM_TARGET_TARGETLOWERINGOBJECTFILE_H