This is an archive of the discontinued LLVM Phabricator instance.

Set dso_local for runtime functions
ClosedPublic

Authored by espindola on Mar 20 2018, 9:17 AM.

Details

Summary

This is another case where there is special logic for adding dllimport and so we cannot use setGVProperties.

Diff Detail

Event Timeline

espindola created this revision.Mar 20 2018, 9:17 AM
rnk accepted this revision.Mar 20 2018, 12:00 PM
rnk added a reviewer: compnerd.

lgtm

We don't assume these are dso_local on Linux, right?

This revision is now accepted and ready to land.Mar 20 2018, 12:02 PM
In D44688#1043575, @rnk wrote:

lgtm

We don't assume these are dso_local on Linux, right?

Depends on shouldAssumeDSOLocal. We do if there is no -fPIC or -fPIE for example.