On ELF, put PIC jump tables in a non executable section.
[oota-llvm.git] / include / llvm / CodeGen / TargetLoweringObjectFileImpl.h
index 0dc04100616c2f94c187c1e9d382ded00c56a818..348c634cfdf09f44cdf576a90fcb6ea35dec9940 100644 (file)
@@ -60,6 +60,9 @@ public:
   getSectionForJumpTable(const Function &F, Mangler &Mang,
                          const TargetMachine &TM) const override;
 
+  bool shouldPutJumpTableInFunctionSection(bool UsesLabelDifference,
+                                           const Function &F) const override;
+
   /// Return an MCExpr to use for a reference to the specified type info global
   /// variable from exception handling information.
   const MCExpr *