@@ -770,13 +770,13 @@ std::string InstrumentationRuntimeTSan::GetLocationDescription(
770
770
Sprintf (" Location is a %ld-byte heap object at 0x%llx" , size, addr);
771
771
}
772
772
} else if (type == " stack" ) {
773
- tid_t tid = loc->GetAsDictionary ()
773
+ lldb:: tid_t tid = loc->GetAsDictionary ()
774
774
->GetValueForKey (" thread_id" )
775
775
->GetUnsignedIntegerValue ();
776
776
777
777
result = Sprintf (" Location is stack of thread %d" , tid);
778
778
} else if (type == " tls" ) {
779
- tid_t tid = loc->GetAsDictionary ()
779
+ lldb:: tid_t tid = loc->GetAsDictionary ()
780
780
->GetValueForKey (" thread_id" )
781
781
->GetUnsignedIntegerValue ();
782
782
@@ -948,7 +948,7 @@ static std::string GenerateThreadName(const std::string &path,
948
948
if (path == " mops" ) {
949
949
size_t size =
950
950
o->GetObjectForDotSeparatedPath (" size" )->GetUnsignedIntegerValue ();
951
- tid_t thread_id =
951
+ lldb:: tid_t thread_id =
952
952
o->GetObjectForDotSeparatedPath (" thread_id" )->GetUnsignedIntegerValue ();
953
953
bool is_write =
954
954
o->GetObjectForDotSeparatedPath (" is_write" )->GetBooleanValue ();
@@ -979,15 +979,15 @@ static std::string GenerateThreadName(const std::string &path,
979
979
}
980
980
981
981
if (path == " threads" ) {
982
- tid_t thread_id =
982
+ lldb:: tid_t thread_id =
983
983
o->GetObjectForDotSeparatedPath (" thread_id" )->GetUnsignedIntegerValue ();
984
984
result = Sprintf (" Thread %zu created" , thread_id);
985
985
}
986
986
987
987
if (path == " locs" ) {
988
988
std::string type = std::string (
989
989
o->GetAsDictionary ()->GetValueForKey (" type" )->GetStringValue ());
990
- tid_t thread_id =
990
+ lldb:: tid_t thread_id =
991
991
o->GetObjectForDotSeparatedPath (" thread_id" )->GetUnsignedIntegerValue ();
992
992
int fd = o->GetObjectForDotSeparatedPath (" file_descriptor" )
993
993
->GetSignedIntegerValue ();
@@ -1007,7 +1007,7 @@ static std::string GenerateThreadName(const std::string &path,
1007
1007
}
1008
1008
1009
1009
if (path == " stacks" ) {
1010
- tid_t thread_id =
1010
+ lldb:: tid_t thread_id =
1011
1011
o->GetObjectForDotSeparatedPath (" thread_id" )->GetUnsignedIntegerValue ();
1012
1012
result = Sprintf (" Thread %" PRIu64, thread_id);
1013
1013
}
@@ -1034,7 +1034,7 @@ static void AddThreadsForPath(const std::string &path,
1034
1034
1035
1035
StructuredData::ObjectSP thread_id_obj =
1036
1036
o->GetObjectForDotSeparatedPath (" thread_os_id" );
1037
- tid_t tid =
1037
+ lldb:: tid_t tid =
1038
1038
thread_id_obj ? thread_id_obj->GetUnsignedIntegerValue () : 0 ;
1039
1039
1040
1040
ThreadSP new_thread_sp =
0 commit comments