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

Reid Kleckner via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 30 14:55:24 PDT 2018


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 .text.


Repository:
  rUNW libunwind

https://reviews.llvm.org/D51508





More information about the cfe-commits mailing list