зеркало из https://github.com/mozilla/gecko-dev.git
Bug 969819 - ARM simulator: Filter the .text section line from the disassembler output. r=jandem
This commit is contained in:
Родитель
24c4ab9d4d
Коммит
bbc8258cf0
|
@ -652,7 +652,8 @@ DisassembleInstruction(uint32_t pc)
|
||||||
char llvmcmd[1024];
|
char llvmcmd[1024];
|
||||||
sprintf(llvmcmd, "bash -c \"echo -n '%p'; echo '%s' | "
|
sprintf(llvmcmd, "bash -c \"echo -n '%p'; echo '%s' | "
|
||||||
"llvm-mc -disassemble -arch=arm -mcpu=cortex-a9 | "
|
"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);
|
system(llvmcmd);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче