[compiler-rt] 71af002 - [compiler-rt][hwasan][fuchsia] Implement InitializeOsSupport

Leonard Chan via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 26 16:05:12 PDT 2021


Author: Leonard Chan
Date: 2021-07-26T16:04:59-07:00
New Revision: 71af002d151ef9a162c8a776c22b46893f923af0

URL: https://github.com/llvm/llvm-project/commit/71af002d151ef9a162c8a776c22b46893f923af0
DIFF: https://github.com/llvm/llvm-project/commit/71af002d151ef9a162c8a776c22b46893f923af0.diff

LOG: [compiler-rt][hwasan][fuchsia] Implement InitializeOsSupport

This is empty for now, but we will add a check that TBI is enabled once the
tagged pointer ABI for zircon is finalized. This depends on D105667.

Differential Revision: https://reviews.llvm.org/D105668

Added: 
    

Modified: 
    compiler-rt/lib/hwasan/hwasan_fuchsia.cpp

Removed: 
    


################################################################################
diff  --git a/compiler-rt/lib/hwasan/hwasan_fuchsia.cpp b/compiler-rt/lib/hwasan/hwasan_fuchsia.cpp
index e875395c920f..566bb80c9222 100644
--- a/compiler-rt/lib/hwasan/hwasan_fuchsia.cpp
+++ b/compiler-rt/lib/hwasan/hwasan_fuchsia.cpp
@@ -172,6 +172,10 @@ void HwasanTSDThreadInit() {}
 // function is unneeded.
 void InstallAtExitHandler() {}
 
+// TODO(fxbug.dev/81499): Once we finalize the tagged pointer ABI in zircon, we should come back
+// here and implement the appropriate check that TBI is enabled.
+void InitializeOsSupport() {}
+
 }  // namespace __hwasan
 
 extern "C" {


        


More information about the llvm-commits mailing list