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: unassignedclangb...@nondot.org
          Reporter: a...@linaro.org
                CC: htmldevelo...@gmail.com, llvm-bugs@lists.llvm.org,
                    neeil...@live.com, richard-l...@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to