Output Assembly
Output Assembly
Generated assembly can be outputted using the -S
flag and mentioning the platform
cc -S main.cpp -mllvm --x86-asm-syntax=intel
gcc -S main.cc -fverbose-asm
Generated assembly can be outputted using the -S
flag and mentioning the platform
cc -S main.cpp -mllvm --x86-asm-syntax=intel
gcc -S main.cc -fverbose-asm