[llvm-bugs] [Bug 43141] New: x86 gcov functions lack frame pointer setup

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Aug 28 07:04:35 PDT 2019


https://bugs.llvm.org/show_bug.cgi?id=43141

            Bug ID: 43141
           Summary: x86 gcov functions lack frame pointer setup
           Product: clang
           Version: 8.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: arnd at linaro.org
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org,
                    neeilans at live.com, richard-llvm at metafoo.co.uk

When building an x86 Linux kernel with both CONFIG_FRAME_POINTER and
CONFIG_GCOV_PROFILE_ALL set, objtool complains about every object
file:

mm/kasan/common.o: warning: objtool: __llvm_gcov_writeout()+0x14: call without
frame pointer save/setup
mm/kasan/common.o: warning: objtool: __llvm_gcov_flush()+0x0: call without
frame pointer save/setup

These two functions are inserted into each file but lack code to handle the
frame pointer when compiling with -fno-omit-frame-pointer -fprofile-arcs.

-- 
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/20190828/6a8e8712/attachment.html>


More information about the llvm-bugs mailing list