Change assembly comment character from ; to #.

This makes llvm-mca silent about unknown tokens.
This commit is contained in:
Bartosz Taudul 2023-01-01 14:42:50 +01:00
parent 28eb4a934e
commit 1945b1bfa0
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -5564,7 +5564,7 @@ void SourceView::Save( const Worker& worker, size_t start, size_t stop )
{
symName = worker.GetString( sym->name );
}
fprintf( f, "; Tracy Profiler disassembly of symbol %s [%s]\n\n", symName, worker.GetCaptureProgram().c_str() );
fprintf( f, "# Tracy Profiler disassembly of symbol %s [%s]\n\n", symName, worker.GetCaptureProgram().c_str() );
if( !m_atnt ) fprintf( f, ".intel_syntax\n\n" );
const auto end = m_asm.size() < stop ? m_asm.size() : stop;