Add input_file
method on LlvmFileCheck
This commit is contained in:
parent
7b21c18fe4
commit
fc8b6c6657
@ -180,6 +180,13 @@ pub fn patterns<P: AsRef<Path>>(&mut self, path: P) -> &mut Self {
|
||||
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…
Reference in New Issue
Block a user