July 17, 2019 [Issue 20058] New: otool fails to dissassemble functions | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=20058 Issue ID: 20058 Summary: otool fails to dissassemble functions Product: D Version: D2 Hardware: x86_64 OS: Mac OS X Status: NEW Severity: blocker Priority: P1 Component: dmd Assignee: nobody@puremagic.com Reporter: doob@me.com Running "otool" with the flags "-Vt" to dissassemble an object file fails to output functions other than "_main" and "__Dmain". No error occurs, the other functions are not included in the output. The reason is that otool cannot find the functions because DMD places them in the "__textcoal_nt" section instead of the "__text" section where Clang places them. "obj2asm" which is shipped with DMD can properly dissassemble all functions. I'm marking this as a blocker since on macOS Catalina it's not possible to run 32 bit applications and "obj2asm" is only available as a 32 bit application, see [1]. [1] https://issues.dlang.org/show_bug.cgi?id=19664 -- |
Copyright © 1999-2021 by the D Language Foundation