diff options
| author | Hans Wennborg <hans@hanshq.net> | 2014-11-03 16:09:16 +0000 |
|---|---|---|
| committer | Hans Wennborg <hans@hanshq.net> | 2014-11-03 16:09:16 +0000 |
| commit | 8313c768369c29051c6e5b9bfe25af3744fe4043 (patch) | |
| tree | dad489f2fa755b691f70e22ebf436d149957606e /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
| parent | c98e413498a98ec8c10d50f5d52aee105a0a29a0 (diff) | |
| download | llvm-8313c768369c29051c6e5b9bfe25af3744fe4043.zip llvm-8313c768369c29051c6e5b9bfe25af3744fe4043.tar.gz llvm-8313c768369c29051c6e5b9bfe25af3744fe4043.tar.bz2 | |
Don't allow dllimport/export on classes with internal linkage (PR21399)
Trying to import or export such classes doesn't make sense, and Clang
would assert trying to export vtables for them.
This is consistent with how we treat functions with internal linkage,
but it is stricter than MSVC so we may have to back down if it breaks
real code.
llvm-svn: 221160
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions
