https://llvm.org/bugs/show_bug.cgi?id=31544
Bug ID: 31544 Summary: BPF target: More meaningful error messages from BPF backend Product: new-bugs Version: unspecified Hardware: PC OS: Linux Status: NEW Severity: normal Priority: P Component: new bugs Assignee: unassignedb...@nondot.org Reporter: dan...@iogearbox.net CC: llvm-bugs@lists.llvm.org Classification: Unclassified The below compile error happens when a BPF program passes a constant NULL pointer into a function and dereferences a member from it. fatal error: error in backend: Cannot select: 0x47508a0: ch,glue = BPFISD::CALL 0x48e0380, TargetExternalSymbol:i64'abort' 0x4884ec0: i64 = TargetExternalSymbol'abort' In function: handle_policy clang-3.8: error: clang frontend command failed with exit code 70 (use -v to see invocation) clang version 3.8.1 (tags/RELEASE_381/final) Target: bpf Thread model: posix InstalledDir: /usr/local/clang/bin Would be great if this has something more intuitive to the user. -- You are receiving this mail because: You are on the CC list for the bug.
_______________________________________________ llvm-bugs mailing list llvm-bugs@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs