add a flag

llvm-svn: 24375
This commit is contained in:
Chris Lattner 2005-11-16 07:21:15 +00:00
parent fdc8b19ad6
commit 672f1bac59
1 changed files with 5 additions and 0 deletions

View File

@ -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.