add a flag

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24375 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2005-11-16 07:21:15 +00:00
parent d5bd52ca48
commit b13b3801fc

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.