<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Andy, Juergen,<br>
<br>
I don't know enough about AArch64 to assess here. Is the proposed
change below something we should take in tree? I'm happy to do
the mechanics of posting a patch (if Rob doesn't), but I don't
know enough to assess. Would such a patch be self contained? Or
is there other work needed?<br>
<br>
Philip<br>
<br>
On 05/26/2016 12:28 PM, Rob Lyerly via llvm-dev wrote:<br>
</div>
<blockquote
cite="mid:CA+iaBWjA59Toq7wsMMb=rz-S8OxSes8Uxm2=yseS=_CWw6fkVQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>I figured out the issue -- the AArch64 backend only emits
the stack map section if isOSBinFormateMachO() returns true --
see [1], lines 123 - 134. Moving the call to
serializeToStackMapSection() outside of the conditional fixes
the problem.<br>
<br>
[1] <a moz-do-not-send="true"
href="http://llvm.org/doxygen/AArch64AsmPrinter_8cpp_source.html">http://llvm.org/doxygen/AArch64AsmPrinter_8cpp_source.html</a><br>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Thu, May 26, 2016 at 2:46 PM, Rob
Lyerly <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:rlyerly@vt.edu" target="_blank">rlyerly@vt.edu</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="HOEnZb">
<div class="h5">
<div dir="ltr">
<div>Hi everyone,<br>
<br>
</div>
I'm using LLVM's stack map intrinsic to store value
location information. I've got a pass that
automatically inserts the "llvm.experimental.stackmap"
intrinsic into the IR. On x86-64, an
".llvm_stackmaps" section is successfully emitted (I
can see the section & its contents in the
generated assembly). However I can't get the AArch64
backend to generate this section. On the website with
information about the intrinsic [1], it says that
AArch64 is supported. Is there a flag I need to add,
or is there something I need to enable when building
LLVM to get this support?<br>
<br>
[1] <a moz-do-not-send="true"
href="http://llvm.org/docs/StackMaps.html"
target="_blank">http://llvm.org/docs/StackMaps.html</a><br
clear="all">
<br>
-- <br>
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div><span>Rob
Lyerly</span><br>
</div>
<div>Graduate
Research
Assistant,
Systems
Software
Research Group<br>
<br>
</div>
<div><img
moz-do-not-send="true"
src="https://upload.wikimedia.org/wikipedia/en/thumb/2/23/Virginiatechseal.svg/200px-Virginiatechseal.svg.png"
height="76"
width="75">
<img
moz-do-not-send="true"
src="http://www.oocities.org/rainforestwind/divider_black_vertical.jpg"
height="75"
width="8"><img
moz-do-not-send="true"
src="http://www.ece.vt.edu/images/inside-top-ecelogo.png"
height="55"
width="272"></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<br>
-- <br>
<div class="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div><span>Rob Lyerly</span><br>
</div>
<div>Graduate Research
Assistant, Systems
Software Research Group<br>
<br>
</div>
<div><img
moz-do-not-send="true"
src="https://upload.wikimedia.org/wikipedia/en/thumb/2/23/Virginiatechseal.svg/200px-Virginiatechseal.svg.png"
height="76" width="75">
<img
moz-do-not-send="true"
src="http://www.oocities.org/rainforestwind/divider_black_vertical.jpg"
height="75" width="8"><img
moz-do-not-send="true"
src="http://www.ece.vt.edu/images/inside-top-ecelogo.png" height="55"
width="272"></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
LLVM Developers mailing list
<a class="moz-txt-link-abbreviated" href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>
<a class="moz-txt-link-freetext" href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a>
</pre>
</blockquote>
<br>
</body>
</html>