mirror of
https://github.com/rust-lang/rust.git
synced 2025-02-10 14:02:57 +00:00
Add input_file
method on LlvmFileCheck
This commit is contained in:
parent
7b21c18fe4
commit
fc8b6c6657
@ -180,6 +180,13 @@ impl LlvmFilecheck {
|
|||||||
self.cmd.arg(path.as_ref());
|
self.cmd.arg(path.as_ref());
|
||||||
self
|
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 {
|
impl LlvmObjdump {
|
||||||
|
Loading…
Reference in New Issue
Block a user