Skip to content

Commit b298a23

Browse files
authored
Fix generate_default_trace (#54)
Regression introduced in 09b41a8 (missing delete flags)
1 parent 109b5b8 commit b298a23

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
__pycache__
22
.vscode
3+
.idea

compiler_opt/tools/generate_default_trace.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,12 @@ def main(_):
126126
logging.info(gin.config_str())
127127

128128
problem_config = registry.get_configuration()
129-
runner = problem_config.get_runner_type()(moving_average_decay_rate=0)
129+
runner = problem_config.get_runner_type()(
130+
moving_average_decay_rate=0,
131+
additional_flags=(),
132+
delete_flags=('-split-dwarf-file', '-split-dwarf-output',
133+
'-fthinlto-index', '-fprofile-sample-use',
134+
'-fprofile-remapping-file'))
130135
assert runner
131136

132137
with open(

0 commit comments

Comments
 (0)