Documentation for assembly output format from "emcc -S"? #15929
-
I'm wondering where I can find the documentation describing the assembly output format used for the files generated by using the "-S" format to emcc. For instance, if you take example.c and run
..etc. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
This is the assembly format that is output by llvm (and read by llvm). I'm afraid there is no good documentation for this specific format but it shares a lot with standard GNU assembly format used by llvm on other platforms. For example the "T" there means that section is thread local (TLS). See https://ftp.gnu.org/old-gnu/Manuals/gas-2.9.1/html_chapter/as_7.html (although I notice that "T" is not listed amount that flags there :). |
Beta Was this translation helpful? Give feedback.
-
Is there some reason you are interested in this format? Do you have plans to author files directly in assembler perhaps? |
Beta Was this translation helpful? Give feedback.
This is the assembly format that is output by llvm (and read by llvm). I'm afraid there is no good documentation for this specific format but it shares a lot with standard GNU assembly format used by llvm on other platforms. For example the "T" there means that section is thread local (TLS).
See https://ftp.gnu.org/old-gnu/Manuals/gas-2.9.1/html_chapter/as_7.html (although I notice that "T" is not listed amount that flags there :).