[llvm-dev] Stack maps on AArch64
Rob Lyerly via llvm-dev
llvm-dev at lists.llvm.org
Thu May 26 12:28:38 PDT 2016
I figured out the issue -- the AArch64 backend only emits the stack map
section if isOSBinFormateMachO() returns true -- see , lines 123 - 134.
Moving the call to serializeToStackMapSection() outside of the conditional
fixes the problem.
On Thu, May 26, 2016 at 2:46 PM, Rob Lyerly <rlyerly at vt.edu> wrote:
> Hi everyone,
> 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 , 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?
>  http://llvm.org/docs/StackMaps.html
> Rob Lyerly
> Graduate Research Assistant, Systems Software Research Group
Graduate Research Assistant, Systems Software Research Group
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev