A: REF https://stackoverflow.com/questions/137038/how-do-you-get-assembler-output-from-c-c-source-in-gcc
gcc -S -o my_asm_output.s helloworld.c
objdump -S --disassemble helloworld > helloworld.dump
objdump -S --disassemble helloworld > helloworld.dump
>>> Doesn't apply for clang-based compiler.
沒有留言:
張貼留言