Merge pull request #19 from ethercrow/patch-1

Make TracySourceView.cpp build with somewhat old clang
This commit is contained in:
Bartosz Taudul 2020-05-11 16:27:01 +02:00 committed by GitHub
commit 6ac970a93f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1637,7 +1637,7 @@ uint64_t SourceView::RenderSymbolAsmView( uint32_t iptotal, unordered_flat_map<u
{
symName = worker.GetString( sym->name );
}
fprintf( f, "; Tracy Profiler disassembly of symbol %s [%s]\n\n", symName, worker.GetCaptureProgram() );
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" );
for( auto& v : m_asm )