[compiler-rt] r191810 - This fixme is resolved, fix the test.

Nick Lewycky nicholas at mxc.ca
Tue Oct 1 22:05:29 PDT 2013


Author: nicholas
Date: Wed Oct  2 00:05:28 2013
New Revision: 191810

URL: http://llvm.org/viewvc/llvm-project?rev=191810&view=rev
Log:
This fixme is resolved, fix the test.

Modified:
    compiler-rt/trunk/lib/ubsan/lit_tests/Misc/bool.cpp

Modified: compiler-rt/trunk/lib/ubsan/lit_tests/Misc/bool.cpp
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/ubsan/lit_tests/Misc/bool.cpp?rev=191810&r1=191809&r2=191810&view=diff
==============================================================================
--- compiler-rt/trunk/lib/ubsan/lit_tests/Misc/bool.cpp (original)
+++ compiler-rt/trunk/lib/ubsan/lit_tests/Misc/bool.cpp Wed Oct  2 00:05:28 2013
@@ -5,7 +5,6 @@ unsigned char NotABool = 123;
 int main(int argc, char **argv) {
   bool *p = (bool*)&NotABool;
 
-  // FIXME: Provide a better source location here.
-  // CHECK: bool.exe:0x{{[0-9a-f]*}}: runtime error: load of value 123, which is not a valid value for type 'bool'
+  // CHECK: bool.cpp:9:10: runtime error: load of value 123, which is not a valid value for type 'bool'
   return *p;
 }





More information about the llvm-commits mailing list