[PATCH] D21850: [AArch64] Emit StackMaps for all binary formats

Rob Lyerly via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 29 11:23:00 PDT 2016

rlyerly created this revision.
rlyerly added reviewers: atrick, lhames, Bigcheese, reames.
rlyerly added a subscriber: llvm-commits.
Herald added subscribers: rengolin, aemerson.

Changed AArch64AsmPrinter to emit LLVM stackmap [1] section for all binary formats in AArch64 backend.  Currently, this section is only emitted for Mach binary files.

[1] http://llvm.org/docs/StackMaps.html

Patch by Rob Lyerly.



Index: lib/Target/AArch64/AArch64AsmPrinter.cpp
--- lib/Target/AArch64/AArch64AsmPrinter.cpp
+++ lib/Target/AArch64/AArch64AsmPrinter.cpp
@@ -128,8 +128,8 @@
     // linker can safely perform dead code stripping.  Since LLVM never
     // generates code that does this, it is always safe to set.
-    SM.serializeToStackMapSection();
+  SM.serializeToStackMapSection();
 void AArch64AsmPrinter::EmitLOHs() {

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D21850.62251.patch
Type: text/x-patch
Size: 551 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160629/6d3e7a93/attachment.bin>

More information about the llvm-commits mailing list