This is an archive of the discontinued LLVM Phabricator instance.

[COFF] Support ordinals in def files with space between @ and the number
ClosedPublic

Authored by mstorsjo on Oct 26 2017, 3:30 AM.

Details

Summary

Both GNU ld and MS link.exe support declaring ordinals this way.

A test will be added in lld.

Diff Detail

Repository
rL LLVM

Event Timeline

mstorsjo created this revision.Oct 26 2017, 3:30 AM
rnk accepted this revision.Oct 26 2017, 9:44 AM
rnk added inline comments.
lib/Object/COFFModuleDefinition.cpp
253 ↗(On Diff #120381)

Please add a comment describing the three alternatives:

foo@10
foo @ 10
foo\n@bar

Otherwise, looks good.

This revision is now accepted and ready to land.Oct 26 2017, 9:44 AM
This revision was automatically updated to reflect the committed changes.