aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-11-16 07:21:15 +0000
committerChris Lattner <sabre@nondot.org>2005-11-16 07:21:15 +0000
commitb13b3801fc48087ebcafb95e29ad79643234683f (patch)
tree5d46592c8e8c7cc1b0ed7ceff8a76415606692f3
parentd5bd52ca480d914845c31185b9fe10449de505b8 (diff)
add a flag
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24375 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/CodeGen/IntrinsicLowering.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/IntrinsicLowering.h b/include/llvm/CodeGen/IntrinsicLowering.h
index 12b9624860..bd7bfac2e9 100644
--- a/include/llvm/CodeGen/IntrinsicLowering.h
+++ b/include/llvm/CodeGen/IntrinsicLowering.h
@@ -40,9 +40,14 @@ namespace llvm {
class Module;
class IntrinsicLowering {
+ protected:
+ bool ShouldEmitDebugFunctions;
public:
+ IntrinsicLowering() : ShouldEmitDebugFunctions(false) {}
virtual ~IntrinsicLowering() {}
+ bool EmitDebugFunctions() const { return ShouldEmitDebugFunctions; }
+
/// AddPrototypes - This method, if called, causes all of the prototypes
/// that might be needed by an intrinsic lowering implementation to be
/// inserted into the module specified.