[compiler-rt] 56eb8dc - [compiler-rt][test] Restore original symbolize_stack test

Paul Kirth via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 8 12:16:00 PDT 2022


Author: Paul Kirth
Date: 2022-06-08T19:15:52Z
New Revision: 56eb8dcf1e00efca01cd6b41c7a85ab2c39b71eb

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

LOG: [compiler-rt][test] Restore original symbolize_stack test

In D126580 we updated the test to reflect that there should always
be a full trace. However, some executions do not have symbolizer
information, so we will restore the original test until we can formulate
a more robust test.

Reviewed By: leonardchan

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

Added: 
    

Modified: 
    compiler-rt/test/sanitizer_common/TestCases/symbolize_stack.cpp

Removed: 
    


################################################################################
diff  --git a/compiler-rt/test/sanitizer_common/TestCases/symbolize_stack.cpp b/compiler-rt/test/sanitizer_common/TestCases/symbolize_stack.cpp
index 96e874e5bad4..d6ec49b407f5 100644
--- a/compiler-rt/test/sanitizer_common/TestCases/symbolize_stack.cpp
+++ b/compiler-rt/test/sanitizer_common/TestCases/symbolize_stack.cpp
@@ -26,6 +26,6 @@ __attribute__((noinline)) void A<0>::RecursiveTemplateFunction(const T &) {
 }
 
 int main() {
-  // CHECK: {{#[0-9]+.*A<0>.*vector<.*vector<.*vector<.*vector<.*vector<.*vector<.*vector<.*vector<.*vector<.*vector<.*vector<.*vector.*symbolize_stack.cpp:25}}
+  // CHECK: {{vector<.*vector<.*vector<.*vector<.*vector<}}
   A<10>().RecursiveTemplateFunction(0);
 }


        


More information about the llvm-commits mailing list