diff options
Diffstat (limited to 'lib/IR/Module.cpp')
| -rw-r--r-- | lib/IR/Module.cpp | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/lib/IR/Module.cpp b/lib/IR/Module.cpp index 12c258d95f523..95673e515a559 100644 --- a/lib/IR/Module.cpp +++ b/lib/IR/Module.cpp @@ -481,7 +481,7 @@ PICLevel::Level Module::getPICLevel() const {  }  void Module::setPICLevel(PICLevel::Level PL) { -  addModuleFlag(ModFlagBehavior::Error, "PIC Level", PL); +  addModuleFlag(ModFlagBehavior::Max, "PIC Level", PL);  }  PIELevel::Level Module::getPIELevel() const { @@ -495,7 +495,7 @@ PIELevel::Level Module::getPIELevel() const {  }  void Module::setPIELevel(PIELevel::Level PL) { -  addModuleFlag(ModFlagBehavior::Error, "PIE Level", PL); +  addModuleFlag(ModFlagBehavior::Max, "PIE Level", PL);  }  void Module::setProfileSummary(Metadata *M) { | 
