[compiler-rt] [sanitizer_common] fix shadowed ret hiding symbolizer read failures. (PR #209971)

Paul Kirth via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 16 08:57:12 PDT 2026


================
@@ -68,4 +68,31 @@ TEST(Symbolizer, DemangleSwiftAndCXX) {
 }
 #endif
 
+#if SANITIZER_POSIX
+// Must live directly in __sanitizer (not an anonymous namespace) to match the
+// `friend class TestSymbolizerProcess` declaration in SymbolizerProcess.
+class TestSymbolizerProcess final : public SymbolizerProcess {
----------------
ilovepi wrote:

nit: the examples I see of test classes in sanitizer_common have a `Test` suffix, so `SymbolizerPorecessTest` would be more typical.

https://github.com/llvm/llvm-project/pull/209971


More information about the llvm-commits mailing list