Shows disassembly to source relations and dims unused source lines.
This extension is based on Compiler Explorer (especially on AsmParser class from it).
First you need disassembly of your source files. That's because the extension does not know anything about your project structure, compiler and compilation flags.
Regular disassembly may be generated with:
Objdumped disassembly should be generated with lines info:
Note that to use objdumped disassembly, you need to add this to your project settings:
When you don't want to specify the output file manually (or use e.g. CMake or build scripts) and compile with GCC, you can use the -save-temps option. This will put a
Next, when you generated disassembly, you should tell the extension where to search for it. By default it is expected right next to the source file, but with
Make sure to adjust the disassembly extension to
Now, when all is done, simply select