Skip to content
Commit 3baa72af authored by Peter Collingbourne's avatar Peter Collingbourne
Browse files

ThinLTOBitcodeWriter: Do not follow operand edges of type GlobalValue when...

ThinLTOBitcodeWriter: Do not follow operand edges of type GlobalValue when looking for virtual functions.

Such edges may otherwise result in infinite recursion if a pointer to a vtable
is reachable from the vtable itself. This can happen in practice if a TU
defines the ABI types used to implement RTTI, and is itself compiled with RTTI.

Fixes PR32121.

llvm-svn: 296839
parent dcb004fd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment