[compiler-rt] b300f8c - [hwasan] Enabled internal_symbolizer with hwasan

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 22 13:51:17 PDT 2023


Author: Vitaly Buka
Date: 2023-09-22T13:51:05-07:00
New Revision: b300f8c89829f920102e6ec5acc7d1b134bcff75

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

LOG: [hwasan] Enabled internal_symbolizer with hwasan

Added: 
    

Modified: 
    compiler-rt/lib/hwasan/CMakeLists.txt
    compiler-rt/test/sanitizer_common/TestCases/demangle_internal.cpp

Removed: 
    


################################################################################
diff  --git a/compiler-rt/lib/hwasan/CMakeLists.txt b/compiler-rt/lib/hwasan/CMakeLists.txt
index e7b3f5e005f8e2e..6f75baa7e354f69 100644
--- a/compiler-rt/lib/hwasan/CMakeLists.txt
+++ b/compiler-rt/lib/hwasan/CMakeLists.txt
@@ -164,8 +164,7 @@ function(add_hwasan_runtimes arch use_aliases)
                 RTSanitizerCommonLibc
                 RTSanitizerCommonCoverage
                 RTSanitizerCommonSymbolizer
-                # FIXME: disable tagging when in symbolizer.
-                # RTSanitizerCommonSymbolizerInternal
+                RTSanitizerCommonSymbolizerInternal
                 RTLSanCommon
                 RTUbsan
     CFLAGS ${hwasan_rtl_flags}
@@ -203,8 +202,7 @@ function(add_hwasan_runtimes arch use_aliases)
             RTSanitizerCommonLibc
             RTSanitizerCommonCoverage
             RTSanitizerCommonSymbolizer
-            # FIXME: disable tagging when in symbolizer.
-            # RTSanitizerCommonSymbolizerInternal
+            RTSanitizerCommonSymbolizerInternal
             RTLSanCommon
             RTUbsan
             RTUbsan_cxx

diff  --git a/compiler-rt/test/sanitizer_common/TestCases/demangle_internal.cpp b/compiler-rt/test/sanitizer_common/TestCases/demangle_internal.cpp
index 6ec1851275eb135..964dcda626c307b 100644
--- a/compiler-rt/test/sanitizer_common/TestCases/demangle_internal.cpp
+++ b/compiler-rt/test/sanitizer_common/TestCases/demangle_internal.cpp
@@ -2,9 +2,6 @@
 
 // REQUIRES: internal_symbolizer
 
-// FIXME: link internal_symbolizer.
-// XFAIL: hwasan
-
 #include <algorithm>
 #include <assert.h>
 #include <string.h>


        


More information about the llvm-commits mailing list