@AgreeableLandscape@mastodon.social @aeva@mdiluz because of linking, the compiler doesn't know if the object will be linked. The function can be called from another object.
@ekg@AgreeableLandscape@mdiluz this exactly. To Agreeable Landscape's concerns, if you mark "unreachable" as static (indicating it only exists for the translation unit), then clang removes it. It's not a big spooky zero day, this is just how linking works 🤷♀️
@ekg @AgreeableLandscape @mdiluz this exactly. To Agreeable Landscape's concerns, if you mark "unreachable" as static (indicating it only exists for the translation unit), then clang removes it. It's not a big spooky zero day, this is just how linking works 🤷♀️