Add input_file method on LlvmFileCheck
This commit is contained in:
parent
7b21c18fe4
commit
fc8b6c6657
1 changed files with 7 additions and 0 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue