[llvm-bugs] [Bug 38643] New: BPF: Assertion faliure at BPFAsmBackend.cpp:73: Assertion `Value == 0' failed

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Aug 20 11:04:38 PDT 2018


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

            Bug ID: 38643
           Summary: BPF: Assertion faliure at BPFAsmBackend.cpp:73:
                    Assertion `Value == 0' failed
           Product: libraries
           Version: 6.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Core LLVM classes
          Assignee: unassignedbugs at nondot.org
          Reporter: tstellar at redhat.com
                CC: alexei.starovoitov at gmail.com, llvm-bugs at lists.llvm.org

Created attachment 20745
  --> https://bugs.llvm.org/attachment.cgi?id=20745&action=edit
C test case

The attached test cases trigger assertion failures in
BPFAsmBackend::applyFixup() with llvm/clang 6.0.1.  I've provided the original
C test case as well as a reduced LLVM IR To reproduce:

clang -target bpf kprobes_kern.c

or 

./llc -march=bpf bpf-fixup-crash.ll -filetype=obj

-- 
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/20180820/86fa5290/attachment.html>


More information about the llvm-bugs mailing list