[PATCH] D44126: [sanitizer] Fix the return type for GetTid in Fuchsia implementation

Petr Hosek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 5 18:06:20 PST 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL326759: [sanitizer] Fix the return type for GetTid in Fuchsia implementation (authored by phosek, committed by ).
Herald added a subscriber: delcypher.

Changed prior to commit:
  https://reviews.llvm.org/D44126?vs=137105&id=137114#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D44126

Files:
  compiler-rt/trunk/lib/sanitizer_common/sanitizer_fuchsia.cc


Index: compiler-rt/trunk/lib/sanitizer_common/sanitizer_fuchsia.cc
===================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_fuchsia.cc
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_fuchsia.cc
@@ -66,7 +66,7 @@
 
 uptr GetThreadSelf() { return reinterpret_cast<uptr>(thrd_current()); }
 
-uptr GetTid() { return GetThreadSelf(); }
+tid_t GetTid() { return GetThreadSelf(); }
 
 void Abort() { abort(); }
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44126.137114.patch
Type: text/x-patch
Size: 476 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180306/47ba9c97/attachment.bin>


More information about the llvm-commits mailing list