diff options
author | Alexey Bataev <a.bataev@hotmail.com> | 2018-09-06 17:56:28 +0000 |
---|---|---|
committer | Alexey Bataev <a.bataev@hotmail.com> | 2018-09-06 17:56:28 +0000 |
commit | d2c1dd5902782fb773c64dbf4e0b529aa4044b05 (patch) | |
tree | b0dc110d1ce62729ea56d1c1087bbfe6746b9d48 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | c23948220794b31060947e1b8a4a19543637e8ae (diff) | |
download | llvm-d2c1dd5902782fb773c64dbf4e0b529aa4044b05.zip llvm-d2c1dd5902782fb773c64dbf4e0b529aa4044b05.tar.gz llvm-d2c1dd5902782fb773c64dbf4e0b529aa4044b05.tar.bz2 |
[OPENMP] Fix PR38823: Do not emit vtable if it is not used in target
context.
If the explicit template instantiation definition defined outside of the
target context, its vtable should not be marked as used. This is true
for other situations where the compiler want to emit vtables
unconditionally.
llvm-svn: 341570
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions