Quantcast
Viewing all articles
Browse latest Browse all 22091

Why is my C++ program's assembly output full of .ascii with no assembly code?

I am compiling a C++ file into a static library with CMake and I am modifying the Makefile that CMake generates by adding the -S -fverbose-asm flags to the gcc command to get the assembly output, however the resulting .cpp.s file is filled with .ascii lines with what looks like hexadecimal data, and contains no assembly instructions, like the following:

.ascii  "\346+\274\004@\226\032!n\247<)\212\264\205\377*\204\275\364e".ascii  "\314\026\270vi\263\373\327\n\367$\332\035\364N\212\316\254\324"

Does anyone know what might be causing this, and how I can get legible assembly instructions instead?

Version of gcc: 5.4.0


Viewing all articles
Browse latest Browse all 22091

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>