[compiler-rt] r367888 - Follow-up for r367863 and r367656

Nico Weber via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 5 09:50:56 PDT 2019


Author: nico
Date: Mon Aug  5 09:50:56 2019
New Revision: 367888

URL: http://llvm.org/viewvc/llvm-project?rev=367888&view=rev
Log:
Follow-up for r367863 and r367656

Modified:
    compiler-rt/trunk/lib/tsan/rtl/tsan_interceptors.cpp
    compiler-rt/trunk/lib/tsan/rtl/tsan_rtl_report.cpp
    compiler-rt/trunk/test/sanitizer_common/TestCases/Linux/ill.cpp
    compiler-rt/trunk/test/sanitizer_common/TestCases/Posix/fpe.cpp

Modified: compiler-rt/trunk/lib/tsan/rtl/tsan_interceptors.cpp
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/tsan/rtl/tsan_interceptors.cpp?rev=367888&r1=367887&r2=367888&view=diff
==============================================================================
--- compiler-rt/trunk/lib/tsan/rtl/tsan_interceptors.cpp (original)
+++ compiler-rt/trunk/lib/tsan/rtl/tsan_interceptors.cpp Mon Aug  5 09:50:56 2019
@@ -1157,7 +1157,7 @@ static int cond_wait(ThreadState *thr, u
   CondMutexUnlockCtx arg = {si, thr, pc, m};
   int res = 0;
   // This ensures that we handle mutex lock even in case of pthread_cancel.
-  // See test/tsan/cond_cancel.cc.
+  // See test/tsan/cond_cancel.cpp.
   {
     // Enable signal delivery while the thread is blocked.
     BlockingCall bc(thr);

Modified: compiler-rt/trunk/lib/tsan/rtl/tsan_rtl_report.cpp
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/tsan/rtl/tsan_rtl_report.cpp?rev=367888&r1=367887&r2=367888&view=diff
==============================================================================
--- compiler-rt/trunk/lib/tsan/rtl/tsan_rtl_report.cpp (original)
+++ compiler-rt/trunk/lib/tsan/rtl/tsan_rtl_report.cpp Mon Aug  5 09:50:56 2019
@@ -650,7 +650,7 @@ void ReportRace(ThreadState *thr) {
     // and the resulting PC has kExternalPCBit set, so we pass it to
     // __tsan_symbolize_external_ex. __tsan_symbolize_external_ex is within its
     // rights to crash since the PC is completely bogus.
-    // test/tsan/double_race.cc contains a test case for this.
+    // test/tsan/double_race.cpp contains a test case for this.
     toppc = 0;
   }
   ObtainCurrentStack(thr, toppc, &traces[0], &tags[0]);

Modified: compiler-rt/trunk/test/sanitizer_common/TestCases/Linux/ill.cpp
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/sanitizer_common/TestCases/Linux/ill.cpp?rev=367888&r1=367887&r2=367888&view=diff
==============================================================================
--- compiler-rt/trunk/test/sanitizer_common/TestCases/Linux/ill.cpp (original)
+++ compiler-rt/trunk/test/sanitizer_common/TestCases/Linux/ill.cpp Mon Aug  5 09:50:56 2019
@@ -22,6 +22,6 @@ int main(int argc, char **argv) {
 
 // CHECK0-NOT: Sanitizer:DEADLYSIGNAL
 // CHECK1: ERROR: {{.*}}Sanitizer: ILL
-// CHECK1: {{#[0-9]+.* main .*ill\.cc:[0-9]+}}
+// CHECK1: {{#[0-9]+.* main .*ill\.cpp:[0-9]+}}
 // CHECK1: DEATH CALLBACK
 // CHECK0-NOT: Sanitizer

Modified: compiler-rt/trunk/test/sanitizer_common/TestCases/Posix/fpe.cpp
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/sanitizer_common/TestCases/Posix/fpe.cpp?rev=367888&r1=367887&r2=367888&view=diff
==============================================================================
--- compiler-rt/trunk/test/sanitizer_common/TestCases/Posix/fpe.cpp (original)
+++ compiler-rt/trunk/test/sanitizer_common/TestCases/Posix/fpe.cpp Mon Aug  5 09:50:56 2019
@@ -24,6 +24,6 @@ int main(int argc, char **argv) {
 
 // CHECK0-NOT: Sanitizer:DEADLYSIGNAL
 // CHECK1: ERROR: {{.*}}Sanitizer: FPE
-// CHECK1: {{#[0-9]+.* main .*fpe\.cc}}:[[@LINE-5]]
+// CHECK1: {{#[0-9]+.* main .*fpe\.cpp}}:[[@LINE-5]]
 // CHECK1: DEATH CALLBACK
 // CHECK0-NOT: Sanitizer




More information about the llvm-commits mailing list