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 ---------------- cdavis5x wrote: > rnk wrote: > > Maybe .pushsection / .popsection is better than assuming you were in .text. > I initially wanted to do that, but those directives aren't supported by COFF. > Neither, by the way, is `.previous`. Perhaps this needs to be fixed in LLVM. Huh, I guess neither does gas. .text is fine then. I'll file a bug to implement those directives for COFF. They're pretty handy, especially for an object file format that uses comdat sections so frequently. Repository: rUNW libunwind https://reviews.llvm.org/D51508 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits