diff options
| author | Alexey Samsonov <samsonov@google.com> | 2012-11-16 12:57:07 +0000 |
|---|---|---|
| committer | Alexey Samsonov <samsonov@google.com> | 2012-11-16 12:57:07 +0000 |
| commit | be9a293ddaa763b33340f3adb53da80cdb950d58 (patch) | |
| tree | 28dde61765cb9bd74689c4fbe35ef42d5c5b1225 /compiler-rt/lib/ubsan/lit_tests/Integer | |
| parent | cc42980335a44643ce8e79c7092446581ef457c8 (diff) | |
| download | bcm5719-llvm-be9a293ddaa763b33340f3adb53da80cdb950d58.tar.gz bcm5719-llvm-be9a293ddaa763b33340f3adb53da80cdb950d58.zip | |
UBSan: enable CMake build on Darwin. Fix two failing tests and disable the test which produces linker errors on Darwin.
llvm-svn: 168169
Diffstat (limited to 'compiler-rt/lib/ubsan/lit_tests/Integer')
| -rw-r--r-- | compiler-rt/lib/ubsan/lit_tests/Integer/add-overflow.cpp | 2 | ||||
| -rw-r--r-- | compiler-rt/lib/ubsan/lit_tests/Integer/sub-overflow.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/compiler-rt/lib/ubsan/lit_tests/Integer/add-overflow.cpp b/compiler-rt/lib/ubsan/lit_tests/Integer/add-overflow.cpp index 1b0a6d9c0b6..020ae767c60 100644 --- a/compiler-rt/lib/ubsan/lit_tests/Integer/add-overflow.cpp +++ b/compiler-rt/lib/ubsan/lit_tests/Integer/add-overflow.cpp @@ -17,7 +17,7 @@ int main() { #ifdef ADD_I64 (void)(int64_t(8000000000000000000ll) + int64_t(2000000000000000000ll)); - // CHECK-ADD_I64: 8000000000000000000 + 2000000000000000000 cannot be represented in type 'long' + // CHECK-ADD_I64: 8000000000000000000 + 2000000000000000000 cannot be represented in type '{{long( long)?}}' #endif #ifdef ADD_I128 diff --git a/compiler-rt/lib/ubsan/lit_tests/Integer/sub-overflow.cpp b/compiler-rt/lib/ubsan/lit_tests/Integer/sub-overflow.cpp index 38fc7b05575..ee431548f38 100644 --- a/compiler-rt/lib/ubsan/lit_tests/Integer/sub-overflow.cpp +++ b/compiler-rt/lib/ubsan/lit_tests/Integer/sub-overflow.cpp @@ -16,7 +16,7 @@ int main() { #ifdef SUB_I64 (void)(int64_t(-8000000000000000000ll) - int64_t(2000000000000000000ll)); - // CHECK-SUB_I64: -8000000000000000000 - 2000000000000000000 cannot be represented in type 'long' + // CHECK-SUB_I64: -8000000000000000000 - 2000000000000000000 cannot be represented in type '{{long( long)?}}' #endif #ifdef SUB_I128 |

