summaryrefslogtreecommitdiffstats
path: root/clang/test/CodeGenCXX/debug-info-uuid.cpp
diff options
context:
space:
mode:
authorFariborz Jahanian <fjahanian@apple.com>2014-09-24 16:28:40 +0000
committerFariborz Jahanian <fjahanian@apple.com>2014-09-24 16:28:40 +0000
commit945a08d7cdda567470965e2fcc8fb8b406017d4b (patch)
treed10bc116e17d9f598fff6ff88b94e08634aca9e3 /clang/test/CodeGenCXX/debug-info-uuid.cpp
parentd5635cdd7fc5cc249e18538bbd11283006e29e0b (diff)
downloadbcm5719-llvm-945a08d7cdda567470965e2fcc8fb8b406017d4b.tar.gz
bcm5719-llvm-945a08d7cdda567470965e2fcc8fb8b406017d4b.zip
Patch to allow mangling of microsoft’s __uuidof expression for the Itanium ABI
when under -fms-extensions. Reviewed by John McCall. //rdar://17784718 llvm-svn: 218384
Diffstat (limited to 'clang/test/CodeGenCXX/debug-info-uuid.cpp')
-rw-r--r--clang/test/CodeGenCXX/debug-info-uuid.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/test/CodeGenCXX/debug-info-uuid.cpp b/clang/test/CodeGenCXX/debug-info-uuid.cpp
index 6137400de07..417e44c3ef0 100644
--- a/clang/test/CodeGenCXX/debug-info-uuid.cpp
+++ b/clang/test/CodeGenCXX/debug-info-uuid.cpp
@@ -1,5 +1,5 @@
// RUN: %clang_cc1 -emit-llvm -fms-extensions -triple=x86_64-pc-win32 -g %s -o - -std=c++11 | FileCheck %s
-// RUN: not %clang_cc1 -emit-llvm -fms-extensions -triple=x86_64-unknown-unknown -g %s -o - -std=c++11 2>&1 | FileCheck %s --check-prefix=CHECK-ITANIUM
+// RUN: %clang_cc1 -emit-llvm -fms-extensions -triple=x86_64-unknown-unknown -g %s -o - -std=c++11 2>&1 | FileCheck %s --check-prefix=CHECK-ITANIUM
// CHECK: metadata [[TGIARGS:![0-9]*]], null} ; [ DW_TAG_structure_type ] [tmpl_guid<&__uuidof(uuid)>]
// CHECK: [[TGIARGS]] = metadata !{metadata [[TGIARG1:![0-9]*]]}
@@ -8,7 +8,7 @@
// CHECK: [[CONST_GUID]] = {{.*}}, metadata [[GUID:![0-9]*]]} ; [ DW_TAG_const_type ] [line 0, size 0, align 0, offset 0] [from _GUID]
// CHECK: [[GUID]] = {{.*}} ; [ DW_TAG_structure_type ] [_GUID]
-// CHECK-ITANIUM: error: cannot yet mangle expression type CXXUuidofExpr
+// CHECK-ITANIUM: metadata !"_ZTS9tmpl_guidIXadu8__uuidoft4uuidEE"} ; [ DW_TAG_structure_type ] [tmpl_guid<&__uuidof(uuid)>]
struct _GUID;
template <const _GUID *>
OpenPOWER on IntegriCloud