mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 969819 - ARM simulator: Filter the .text section line from the disassembler output. r=jandem
This commit is contained in:
parent
4f514cfdc6
commit
e2a5ac2c80
@ -652,7 +652,8 @@ DisassembleInstruction(uint32_t pc)
|
||||
char llvmcmd[1024];
|
||||
sprintf(llvmcmd, "bash -c \"echo -n '%p'; echo '%s' | "
|
||||
"llvm-mc -disassemble -arch=arm -mcpu=cortex-a9 | "
|
||||
"grep -v pure_instructions\"", reinterpret_cast<void*>(pc), hexbytes);
|
||||
"grep -v pure_instructions | grep -v .text\"",
|
||||
reinterpret_cast<void*>(pc), hexbytes);
|
||||
system(llvmcmd);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user