<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Mostly likely, nobody got around to writing ELF tests. The change to enable stack maps on ELF would be fine if it includes a test case.<div class="">-Andy<br class=""><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Jun 13, 2016, at 5:38 PM, Lang Hames via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org" class="">llvm-dev@lists.llvm.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Hi All,<div class=""><br class=""></div><div class="">I don't recall anything MachO specific in the AArch64 stack maps code. Digging through the svn history it looks like the call to SM.serializeToStackMapSection() used to be unconditional but was put under the isOSBinFormateMachO() test in r206610. Tim - was there a reason for that? If not, I think it should be safe to just move it back out.</div><div class=""><div class=""><span style="font-size:13px" class=""><br class=""></span></div><div class=""><span style="font-size:13px" class="">Cheers,</span></div></div><div class=""><span style="font-size:13px" class="">Lang.</span></div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Mon, Jun 13, 2016 at 1:07 PM, Juergen Ributzka via llvm-dev <span dir="ltr" class=""><<a href="mailto:llvm-dev@lists.llvm.org" target="_blank" class="">llvm-dev@lists.llvm.org</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class="">[+ Lang]<div class=""><div class="h5"><div class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">On Jun 13, 2016, at 9:58 AM, Philip Reames via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org" target="_blank" class="">llvm-dev@lists.llvm.org</a>> wrote:</div><br class=""><div class="">
  
    
  
  <div text="#000000" bgcolor="#FFFFFF" class="">
    <div class="">Andy, Juergen,<br class="">
      <br class="">
      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 class="">
      <br class="">
      Philip<br class="">
      <br class="">
      On 05/26/2016 12:28 PM, Rob Lyerly via llvm-dev wrote:<br class="">
    </div>
    <blockquote type="cite" class="">
      <div dir="ltr" class="">
        <div class="">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 class="">
          <br class="">
          [1] <a href="http://llvm.org/doxygen/AArch64AsmPrinter_8cpp_source.html" target="_blank" class="">http://llvm.org/doxygen/AArch64AsmPrinter_8cpp_source.html</a><br class="">
        </div>
      </div>
      <div class="gmail_extra"><br class="">
        <div class="gmail_quote">On Thu, May 26, 2016 at 2:46 PM, Rob
          Lyerly <span dir="ltr" class=""><<a href="mailto:rlyerly@vt.edu" target="_blank" class="">rlyerly@vt.edu</a>></span>
          wrote:<br class="">
          <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div class="">
              <div class="">
                <div dir="ltr" class="">
                  <div class="">Hi everyone,<br class="">
                    <br class="">
                  </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 class="">
                  <br class="">
                  [1] <a href="http://llvm.org/docs/StackMaps.html" target="_blank" class="">http://llvm.org/docs/StackMaps.html</a><br clear="all" class="">
                  <br class="">
                  -- <br class="">
                  <div class="">
                    <div dir="ltr" class="">
                      <div class="">
                        <div dir="ltr" class="">
                          <div class="">
                            <div dir="ltr" class="">
                              <div class="">
                                <div dir="ltr" class="">
                                  <div class="">
                                    <div dir="ltr" class="">
                                      <div class="">
                                        <div dir="ltr" class="">
                                          <div class="">
                                            <div dir="ltr" class="">
                                              <div class="">
                                                <div dir="ltr" class="">
                                                  <div class="">
                                                    <div dir="ltr" class="">
                                                      <div class="">
                                                        <div class=""><span class="">Rob
                                                          Lyerly</span><br class="">
                                                        </div>
                                                        <div class="">Graduate
                                                          Research
                                                          Assistant,
                                                          Systems
                                                          Software
                                                          Research Group<br class="">
                                                          <br class="">
                                                        </div>
                                                        <div class=""><img src="https://upload.wikimedia.org/wikipedia/en/thumb/2/23/Virginiatechseal.svg/200px-Virginiatechseal.svg.png" height="76" width="75" class="">  
                                                          <img src="http://www.oocities.org/rainforestwind/divider_black_vertical.jpg" height="75" width="8" class=""><img src="http://www.ece.vt.edu/images/inside-top-ecelogo.png" height="55" width="272" class=""></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 class="">
        <br clear="all" class="">
        <br class="">
        -- <br class="">
        <div class="">
          <div dir="ltr" class="">
            <div class="">
              <div dir="ltr" class="">
                <div class="">
                  <div dir="ltr" class="">
                    <div class="">
                      <div dir="ltr" class="">
                        <div class="">
                          <div dir="ltr" class="">
                            <div class="">
                              <div dir="ltr" class="">
                                <div class="">
                                  <div dir="ltr" class="">
                                    <div class="">
                                      <div dir="ltr" class="">
                                        <div class="">
                                          <div dir="ltr" class="">
                                            <div class="">
                                              <div class=""><span class="">Rob Lyerly</span><br class="">
                                              </div>
                                              <div class="">Graduate Research
                                                Assistant, Systems
                                                Software Research Group<br class="">
                                                <br class="">
                                              </div>
                                              <div class=""><img src="https://upload.wikimedia.org/wikipedia/en/thumb/2/23/Virginiatechseal.svg/200px-Virginiatechseal.svg.png" height="76" width="75" class="">  
                                                <img src="http://www.oocities.org/rainforestwind/divider_black_vertical.jpg" height="75" width="8" class=""><img src="http://www.ece.vt.edu/images/inside-top-ecelogo.png" height="55" width="272" class=""></div>
                                            </div>
                                          </div>
                                        </div>
                                      </div>
                                    </div>
                                  </div>
                                </div>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br class="">
      <fieldset class=""></fieldset>
      <br class="">
      <pre class="">_______________________________________________
LLVM Developers mailing list
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank" class="">llvm-dev@lists.llvm.org</a>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" target="_blank" class="">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a>
</pre>
    </blockquote>
    <br class="">
  </div>

_______________________________________________<br class="">LLVM Developers mailing list<br class=""><a href="mailto:llvm-dev@lists.llvm.org" target="_blank" class="">llvm-dev@lists.llvm.org</a><br class=""><a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" target="_blank" class="">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br class=""></div></blockquote></div><br class=""></div></div></div></div><br class="">_______________________________________________<br class="">
LLVM Developers mailing list<br class="">
<a href="mailto:llvm-dev@lists.llvm.org" class="">llvm-dev@lists.llvm.org</a><br class="">
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank" class="">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br class="">
<br class=""></blockquote></div><br class=""></div>
_______________________________________________<br class="">LLVM Developers mailing list<br class=""><a href="mailto:llvm-dev@lists.llvm.org" class="">llvm-dev@lists.llvm.org</a><br class="">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev<br class=""></div></blockquote></div><br class=""></div></div></body></html>