This is an archive of the discontinued LLVM Phabricator instance.

Set dso_local on builtin functions
ClosedPublic

Authored by espindola on Mar 20 2018, 3:02 PM.

Details

Reviewers
rnk
echristo
Summary

The difference between CreateRuntimeFunction and CreateBuiltinFunction is that CreateBuiltinFunction would not set dllimport or dso_local.

To keep the current semantics, just forward to CreateRuntimeFunction with Local=true so it doesn't add dllimport.

Diff Detail

Event Timeline

espindola created this revision.Mar 20 2018, 3:02 PM
espindola edited the summary of this revision. (Show Details)Mar 20 2018, 3:10 PM
rnk accepted this revision.Mar 21 2018, 2:49 PM

lgtm

This revision is now accepted and ready to land.Mar 21 2018, 2:49 PM