perf: do not try to mmap .ir to the same address as .olean (#9488)
This commit is contained in:
parent
04be1c6b5c
commit
9dc4dbebe1
2 changed files with 4 additions and 1 deletions
|
|
@ -1778,7 +1778,8 @@ def writeModule (env : Environment) (fname : System.FilePath) : IO Unit := do
|
|||
(← mkPart .exported),
|
||||
(← mkPart .server),
|
||||
(← mkPart .private)]
|
||||
saveModuleData (fname.withExtension "ir") env.mainModule (mkIRData env)
|
||||
-- Make sure to change the module name so we derive a different base address
|
||||
saveModuleData (fname.withExtension "ir") (env.mainModule ++ `ir) (mkIRData env)
|
||||
else
|
||||
saveModuleData fname env.mainModule (← mkModuleData env)
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,7 @@
|
|||
#include "util/options.h"
|
||||
|
||||
// Dear CI, please update stage0
|
||||
|
||||
namespace lean {
|
||||
options get_default_options() {
|
||||
options opts;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue