projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5bd52c
)
add a flag
author
Chris Lattner
<sabre@nondot.org>
Wed, 16 Nov 2005 07:21:15 +0000
(07:21 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Wed, 16 Nov 2005 07:21:15 +0000
(07:21 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24375
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/CodeGen/IntrinsicLowering.h
patch
|
blob
|
history
diff --git
a/include/llvm/CodeGen/IntrinsicLowering.h
b/include/llvm/CodeGen/IntrinsicLowering.h
index 12b9624860e9e8e2242609b6ccc2ab1d5332c61b..bd7bfac2e973c0851dd90e95064923403e7b8ce2 100644
(file)
--- 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.