[llvm-bugs] [Bug 32874] New: sanitizer crashes invalid arguments to llvm.prefetch

via llvm-bugs llvm-bugs at lists.llvm.org
Mon May 1 21:47:03 PDT 2017


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

            Bug ID: 32874
           Summary: sanitizer crashes invalid arguments to llvm.prefetch
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: LLVM Codegen
          Assignee: unassignedclangbugs at nondot.org
          Reporter: zeccav at gmail.com
                CC: llvm-bugs at lists.llvm.org

Created attachment 18387
  --> https://bugs.llvm.org/attachment.cgi?id=18387&action=edit
sh file

clang -fsanitize=undefined ~/f95/cc/clangerr2.c
invalid arguments to llvm.prefetch
  call void @llvm.prefetch(i8* %1, i32 %3, i32 %7, i32 1)
fatal error: error in backend: Broken function found, compilation aborted!
clang-5.0: error: clang frontend command failed with exit code 70 (use
-v to see invocation)
clang version 5.0.0 (trunk 301516)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /home/vitti/llvm-301516/build/bin
clang-5.0: note: diagnostic msg: PLEASE submit a bug report to
http://llvm.org/bugs/ and include the crash backtrace, preprocessed
source, and associated run script.
clang-5.0: note: diagnostic msg:
********************

PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
Preprocessed source(s) and associated run script(s) are located at:
clang-5.0: note: diagnostic msg: /tmp/clangerr2-30c374.c
clang-5.0: note: diagnostic msg: /tmp/clangerr2-30c374.sh
clang-5.0: note: diagnostic msg:

********************

-- 
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/20170502/8ded2caf/attachment.html>


More information about the llvm-bugs mailing list