[LLVMbugs] [Bug 22741] New: ASAN on ARM fails on fast unwind

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Feb 28 10:56:08 PST 2015


http://llvm.org/bugs/show_bug.cgi?id=22741

            Bug ID: 22741
           Summary: ASAN on ARM fails on fast unwind
           Product: compiler-rt
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: compiler-rt
          Assignee: unassignedbugs at nondot.org
          Reporter: renato.golin at linaro.org
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 13964
  --> http://llvm.org/bugs/attachment.cgi?id=13964&action=edit
stack traces: stage1, stage2, no-fast-unwind

When walking the stack, ASAN fails to get the proper frames on ARM. On stage1
(GCC compiled ASAN), the stack unwinds with the right size (three), but the
addresses are bogus. On stage2 (Clang's), the stack doesn't even have the right
size and all you can see is the current frame.

When using ASAN_OPTIONS=fast_unwind_on_malloc=0, the stack is correctly
unwounded (correct.out attached).

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20150228/396d7afc/attachment.html>


More information about the llvm-bugs mailing list