1
0
mirror of https://github.com/wolfpld/tracy synced 2025-04-28 12:13:53 +00:00

Store location in SourceLocation during chrome import.

This commit is contained in:
Bartosz Taudul 2021-05-11 01:35:26 +02:00
parent db734e3e0a
commit 4f76fb2cda
No known key found for this signature in database
GPG Key ID: B7FE2008B7575DF3

View File

@ -321,8 +321,8 @@ Worker::Worker( const char* name, const char* program, const std::vector<ImportE
SourceLocation srcloc {
StringRef(),
StringRef( StringRef::Idx, StoreString( v.name.c_str(), v.name.size() ).idx ),
StringRef(),
0,
StringRef( StringRef::Idx, StoreString( v.locFile.c_str(), v.locFile.size() ).idx ),
v.locLine,
0
};
int key;