diff options
author | Bill Wendling <isanbard@gmail.com> | 2013-02-22 09:10:20 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2013-02-22 09:10:20 +0000 |
commit | e1c4a1babd90ea097ef80df44011e977212c2e78 (patch) | |
tree | c8a4cf6471fcb59e39f19d8a21421daed9285b24 /clang/test/CodeGenCXX/catch-undef-behavior.cpp | |
parent | a032374ea0d069bff44045eee72ebdaa100ccc7a (diff) | |
download | bcm5719-llvm-e1c4a1babd90ea097ef80df44011e977212c2e78.tar.gz bcm5719-llvm-e1c4a1babd90ea097ef80df44011e977212c2e78.zip |
Update to use references to attribute groups instead of listing the attributes on the call/invoke instructions.
llvm-svn: 175878
Diffstat (limited to 'clang/test/CodeGenCXX/catch-undef-behavior.cpp')
-rw-r--r-- | clang/test/CodeGenCXX/catch-undef-behavior.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/clang/test/CodeGenCXX/catch-undef-behavior.cpp b/clang/test/CodeGenCXX/catch-undef-behavior.cpp index 05621ccd85a..b2d6fce3674 100644 --- a/clang/test/CodeGenCXX/catch-undef-behavior.cpp +++ b/clang/test/CodeGenCXX/catch-undef-behavior.cpp @@ -139,7 +139,7 @@ int lsh_overflow(int a, int b) { // CHECK: @_Z9no_return int no_return() { - // CHECK: call void @__ubsan_handle_missing_return(i8* bitcast ({{.*}}* @{{.*}} to i8*)) noreturn nounwind + // CHECK: call void @__ubsan_handle_missing_return(i8* bitcast ({{.*}}* @{{.*}} to i8*)) [[NR_NUW:#[0-9]+]] // CHECK-NEXT: unreachable } @@ -219,3 +219,5 @@ void bad_downcast_reference(S &p) { // CHECK: br label (void) static_cast<T&>(p); } + +// CHECK: attributes [[NR_NUW]] = { noreturn nounwind } |