HomePhabricator

[llvm-jitlink] Support promotion of ODR weak symbols in -harness mode.

Authored by lhames on Fri, Jul 31, 9:32 PM.

Description

[llvm-jitlink] Support promotion of ODR weak symbols in -harness mode.

This prevents weak symbols from being immediately dead-stripped when not
directly referenced from the test harneess, enabling use of weak symbols
from the code under test.

Details

Committed
lhamesSat, Aug 1, 6:33 PM
Parents
rGe281376e996e: [ELF] --wrap: set isUsedInRegularObj of __wrap_ only if it is defined
Branches
Unknown
Tags
Unknown