aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-cov/SourceCoverageViewText.cpp
diff options
context:
space:
mode:
authorJonas Hahnfeld <jonas.hahnfeld@cern.ch>2023-07-28 15:43:11 +0200
committerJonas Hahnfeld <jonas.hahnfeld@cern.ch>2023-08-18 09:42:28 +0200
commitc861d32d7c2791bdc058d9d9fbaecc1c2f07b8c7 (patch)
treeb74ae5ff5f558e61ee801ad627b7bf92c97634cc /llvm/tools/llvm-cov/SourceCoverageViewText.cpp
parent515c435e378b243b1be3da1587c9e206055f2c32 (diff)
downloadllvm-c861d32d7c2791bdc058d9d9fbaecc1c2f07b8c7.zip
llvm-c861d32d7c2791bdc058d9d9fbaecc1c2f07b8c7.tar.gz
llvm-c861d32d7c2791bdc058d9d9fbaecc1c2f07b8c7.tar.bz2
[CodeGen] Keep track of eagerly emitted globals
An inline virtual function must be emitted, but we need to remember it and emit the same definition again in the future in case later LLVM optimizations stripped it from the Module. The added test case shows the problem; before this patch, it would fail with: Symbols not found: [ _ZN1AD0Ev, _ZN1AD1Ev ] This reapplies commit f8dadefd4a, reverted in commit 0e17372b38, but disables RTTI in the test to avoid problems on Windows. Differential Revision: https://reviews.llvm.org/D156537
Diffstat (limited to 'llvm/tools/llvm-cov/SourceCoverageViewText.cpp')
0 files changed, 0 insertions, 0 deletions