This is an archive of the discontinued LLVM Phabricator instance.

[COFF] Improve the check for functions that should get an extra underscore
ClosedPublic

Authored by mstorsjo on Oct 22 2017, 1:39 PM.

Details

Summary

This fixes exporting functions starting with an underscore, and fully decorated fastcall/vectorcall functions.

Tests will be added in the lld repo.

Also update a related comment to match the current behaviour, although it doesn't need any functional changes there.

Diff Detail

Repository
rL LLVM

Event Timeline

mstorsjo created this revision.Oct 22 2017, 1:39 PM
ruiu accepted this revision.Oct 22 2017, 6:10 PM

LGTM. Thank you for doing this!

This revision is now accepted and ready to land.Oct 22 2017, 6:10 PM
This revision was automatically updated to reflect the committed changes.