[PATCH] D51508: Export public functions implemented in assembly on Windows.

2018-08-31 Thread Phabricator via Phabricator via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL341232: Export public functions implemented in assembly on Windows. (authored by cdavis, committed by ). Herald added a subscriber: llvm-commits. Repository: rL LLVM https://reviews.llvm.org/D51508 Fi

[PATCH] D51508: Export public functions implemented in assembly on Windows.

2018-08-31 Thread Reid Kleckner via Phabricator via cfe-commits
rnk accepted this revision. rnk added a comment. This revision is now accepted and ready to land. lgtm Comment at: src/assembly.h:76-78 + .section .drectve,"yn" SEPARATOR\ + .ascii "-export:", #name, "\0" SEPARATOR\ + .text ---

[PATCH] D51508: Export public functions implemented in assembly on Windows.

2018-08-31 Thread Charles Davis via Phabricator via cfe-commits
cdavis5x added inline comments. Comment at: src/assembly.h:76-78 + .section .drectve,"yn" SEPARATOR\ + .ascii "-export:", #name, "\0" SEPARATOR\ + .text rnk wrote: > Maybe .pushsection / .popsection is better than assumi

[PATCH] D51508: Export public functions implemented in assembly on Windows.

2018-08-30 Thread Reid Kleckner via Phabricator via cfe-commits
rnk added inline comments. Comment at: src/assembly.h:76-78 + .section .drectve,"yn" SEPARATOR\ + .ascii "-export:", #name, "\0" SEPARATOR\ + .text Maybe .pushsection / .popsection is better than assuming you were in .te

[PATCH] D51508: Export public functions implemented in assembly on Windows.

2018-08-30 Thread Charles Davis via Phabricator via cfe-commits
cdavis5x created this revision. cdavis5x added reviewers: mstorsjo, rnk. Herald added subscribers: cfe-commits, christof. By default, symbols aren't visible outside of the module that defines them. To make them visible, they must be exported. The easiest way to do that is to embed an `-export:symn