I am trying to get Xcode to display the assembly code while debugging in the Intel format. I have tried to add the flag -masm=intel in the "Other C Flags" section under Build Settings but it doesn't work.
Asked
Active
Viewed 546 times
1
-
Is that [this](https://stackoverflow.com/a/12768024/2189500)? – David Wohlferd Jan 19 '19 at 02:37
-
@DavidWohlferd Nope. This is about setting up the C compiler. – fuz Jan 19 '19 at 02:50
-
1Once you have machine code, all that matters is *dis*assembler settings in your debugger, not compiler options. In GDB, it's `set disassembly-flavor intel` (or `att`). Look for something similar in Xcode's debugger, which I think uses LLDB. – Peter Cordes Jan 19 '19 at 04:23