Skip to content

Commit fc8b6c6

Browse files
Add input_file method on LlvmFileCheck
1 parent 7b21c18 commit fc8b6c6

File tree

1 file changed

+7
-0
lines changed
  • src/tools/run-make-support/src

1 file changed

+7
-0
lines changed

src/tools/run-make-support/src/llvm.rs

+7
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,13 @@ impl LlvmFilecheck {
180180
self.cmd.arg(path.as_ref());
181181
self
182182
}
183+
184+
/// `--input-file` option.
185+
pub fn input_file<P: AsRef<Path>>(&mut self, input_file: P) -> &mut Self {
186+
self.cmd.arg("--input-file");
187+
self.cmd.arg(input_file.as_ref());
188+
self
189+
}
183190
}
184191

185192
impl LlvmObjdump {

0 commit comments

Comments
 (0)