mirror of
https://github.com/wolfpld/tracy
synced 2025-04-28 20:23:51 +00:00
Store location in SourceLocation during chrome import.
This commit is contained in:
parent
db734e3e0a
commit
4f76fb2cda
@ -321,8 +321,8 @@ Worker::Worker( const char* name, const char* program, const std::vector<ImportE
|
|||||||
SourceLocation srcloc {
|
SourceLocation srcloc {
|
||||||
StringRef(),
|
StringRef(),
|
||||||
StringRef( StringRef::Idx, StoreString( v.name.c_str(), v.name.size() ).idx ),
|
StringRef( StringRef::Idx, StoreString( v.name.c_str(), v.name.size() ).idx ),
|
||||||
StringRef(),
|
StringRef( StringRef::Idx, StoreString( v.locFile.c_str(), v.locFile.size() ).idx ),
|
||||||
0,
|
v.locLine,
|
||||||
0
|
0
|
||||||
};
|
};
|
||||||
int key;
|
int key;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user