Skip to content

Commit 9ec22c2

Browse files
committed
Add notes support to llvm_readobj
1 parent 5c8459f commit 9ec22c2

File tree

1 file changed

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

1 file changed

+6
-0
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,12 @@ impl LlvmReadobj {
102102
self
103103
}
104104

105+
/// Pass `--notes` to display all notes.
106+
pub fn notes(&mut self) -> &mut Self {
107+
self.cmd.arg("--notes");
108+
self
109+
}
110+
105111
/// Specify the section to display.
106112
pub fn section(&mut self, section: &str) -> &mut Self {
107113
self.cmd.arg("--string-dump");

0 commit comments

Comments
 (0)