HomeFreeBSD

libdtrace: Format USDT symbols correctly based on symbol binding

Description

libdtrace: Format USDT symbols correctly based on symbol binding

Before we did not handle weak symbols correctly, sometimes resulting in
link errors from dtrace -G when processing object files where functions
with weak aliases contain USDT probes.

Reported by: rlibby
Sponsored by: The FreeBSD Foundation

(cherry picked from commit d00431a7bd0c4b4607943baed588e58ad5ae6150)

Details

Provenance
markjAuthored on Jan 10 2021, 10:46 PM
Parents
rG6181f2fcf6a4: mvneta: Acquire the softc lock before clearing the MIB
Branches
Unknown
Tags
Unknown