Page MenuHomePhabricator

[LLVM-C] Redo unnamed_address attribute bindings

Authored by CodaFi on Feb 18 2018, 3:54 PM.



The old bindings should have used an enum instead of a boolean. This
deprecates LLVMHasUnnamedAddr and LLVMSetUnnamedAddr , replacing them
with LLVMGetUnnamedAddress and LLVMSetUnnamedAddress respectively that do.
Though it is unlikely LLVM will gain more supported global value linker
hints, the new API can scale to accommodate this.

Diff Detail


Event Timeline

CodaFi created this revision.Feb 18 2018, 3:54 PM
CodaFi updated this revision to Diff 134849.Feb 18 2018, 4:17 PM
whitequark accepted this revision.Feb 18 2018, 9:45 PM
This revision is now accepted and ready to land.Feb 18 2018, 9:45 PM
This revision was automatically updated to reflect the committed changes.