Search code examples
ccompilationclangllvm-clang

How to generate listing file with Clang C compiler?


I am trying to generate listing file with Clang C compiler, but I do not found any command line option for that.

Does anyone know how to generate listing file (.lst) with clang C compiler ?


Solution

  • Compile your file and after that run:

    objdump -d -Mintel <filename>