diff options
| author | Rafael Espindola <rafael.espindola@gmail.com> | 2018-03-06 17:19:23 +0000 |
|---|---|---|
| committer | Rafael Espindola <rafael.espindola@gmail.com> | 2018-03-06 17:19:23 +0000 |
| commit | 6cd91f1d4485b511017952592e3fab070942cb46 (patch) | |
| tree | 15dc2c31ba59bd407c4822e22ce1e97a336eab7f /llvm/test | |
| parent | ddb33c096107ae70ae0b5d39e506c6e7a6151052 (diff) | |
| download | bcm5719-llvm-6cd91f1d4485b511017952592e3fab070942cb46.tar.gz bcm5719-llvm-6cd91f1d4485b511017952592e3fab070942cb46.zip | |
Refactor check for dllimport in the Verifier.
This avoids duplicated code and now also rejects dllimport aliases.
llvm-svn: 326814
Diffstat (limited to 'llvm/test')
| -rw-r--r-- | llvm/test/Bitcode/compatibility.ll | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/llvm/test/Bitcode/compatibility.ll b/llvm/test/Bitcode/compatibility.ll index 0157fd438a7..8c0471a1134 100644 --- a/llvm/test/Bitcode/compatibility.ll +++ b/llvm/test/Bitcode/compatibility.ll @@ -230,8 +230,6 @@ declare void @g.f1() ; Aliases -- DLLStorageClass @a.dlldefault = default alias i32, i32* @g.dlldefault ; CHECK: @a.dlldefault = alias i32, i32* @g.dlldefault -@a.dllimport = dllimport alias i32, i32* @g1 -; CHECK: @a.dllimport = dllimport alias i32, i32* @g1 @a.dllexport = dllexport alias i32, i32* @g.dllexport ; CHECK: @a.dllexport = dllexport alias i32, i32* @g.dllexport |

