Displaying 1 result from an estimated 1 matches for "10basicblockee4dumpev".
2020 Sep 09
2
Code Coverage Compile Issue LLVM 10
Hello,
I recently updated LLVM from version 6.0.0 to 10.0.0.
I see the following issue when I compile an application only with code
coverage compiler options. Thes issue does not appear in any other build
type.
*...:(__llvm_prf_data[__profv__**ZNK4llvm3cfg6UpdateIPNS_**10BasicBlockEE4dumpEv]+0x18):
**undefined reference to `llvm::cfg::Update<llvm::**BasicBlock*>::dump()
const'*
I see this issue only when I compile the app with the following compiler
options:
*-g -O2 -fprofile-instr-generate -fcoverage-mapping*
I don't use any special flags when I build LLVM. I used g+...