remove assembly parsing special case for otool output (no longer needed)

This commit is contained in:
Hans Kratz
2021-09-08 09:55:12 +02:00
committed by Luca Barbato
parent 1ede4207be
commit 03fa985cf0
@@ -125,16 +125,7 @@ fn parse(output: &str) -> HashSet<Function> {
cached_header = None;
break;
}
let parts = if cfg!(target_os = "macos") {
// Each line of instructions should look like:
//
// $addr $instruction...
instruction
.split_whitespace()
.skip(1)
.map(std::string::ToString::to_string)
.collect::<Vec<String>>()
} else if cfg!(target_env = "msvc") {
let parts = if cfg!(target_env = "msvc") {
// Each line looks like:
//
// > $addr: ab cd ef $instr..