diff options
author | Hans Wennborg <hans@hanshq.net> | 2016-02-10 22:18:37 +0000 |
---|---|---|
committer | Hans Wennborg <hans@hanshq.net> | 2016-02-10 22:18:37 +0000 |
commit | 8fab56e0dcf48d545a8aae1eae90b4f3d3f2231b (patch) | |
tree | 806ef9716bc5c8762bb37ce5f499ff1d439cfdc0 /clang/test/CodeGenCXX/dllimport-rtti.cpp | |
parent | 4022d529594dea28ef11ae78c214cf37f139f053 (diff) | |
download | bcm5719-llvm-8fab56e0dcf48d545a8aae1eae90b4f3d3f2231b.tar.gz bcm5719-llvm-8fab56e0dcf48d545a8aae1eae90b4f3d3f2231b.zip |
Revert r260388 "[MS ABI] Never reference dllimport'd vtables"
This caused the compiler to fail with "invalid linkage type
for global declaration" (PR26569).
llvm-svn: 260449
Diffstat (limited to 'clang/test/CodeGenCXX/dllimport-rtti.cpp')
-rw-r--r-- | clang/test/CodeGenCXX/dllimport-rtti.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/test/CodeGenCXX/dllimport-rtti.cpp b/clang/test/CodeGenCXX/dllimport-rtti.cpp index 4baee50fcff..071ce278a5b 100644 --- a/clang/test/CodeGenCXX/dllimport-rtti.cpp +++ b/clang/test/CodeGenCXX/dllimport-rtti.cpp @@ -4,8 +4,7 @@ struct __declspec(dllimport) S { virtual void f() {} } s; -// MSVC: [[VF_S:.*]] = private unnamed_addr constant [2 x i8*] -// MSVC-DAG: @"\01??_SS@@6B@" = unnamed_addr alias i8*, getelementptr inbounds ([2 x i8*], [2 x i8*]* [[VF_S]], i32 0, i32 1) +// MSVC-DAG: @"\01??_7S@@6B@" = available_externally dllimport // MSVC-DAG: @"\01??_R0?AUS@@@8" = linkonce_odr // MSVC-DAG: @"\01??_R1A@?0A@EA@S@@8" = linkonce_odr // MSVC-DAG: @"\01??_R2S@@8" = linkonce_odr |