Skip to content

Commit

Permalink
Add input_file method on LlvmFileCheck
Browse files Browse the repository at this point in the history
  • Loading branch information
GuillaumeGomez committed Jul 1, 2024
1 parent 7b21c18 commit fc8b6c6
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/tools/run-make-support/src/llvm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,13 @@ impl LlvmFilecheck {
self.cmd.arg(path.as_ref());
self
}

/// `--input-file` option.
pub fn input_file<P: AsRef<Path>>(&mut self, input_file: P) -> &mut Self {
self.cmd.arg("--input-file");
self.cmd.arg(input_file.as_ref());
self
}
}

impl LlvmObjdump {
Expand Down

0 comments on commit fc8b6c6

Please sign in to comment.