[llvm-bugs] [Bug 42560] New: Mangling of pipe is broken for Windows in C++ mode

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Jul 10 02:44:06 PDT 2019


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

            Bug ID: 42560
           Summary: Mangling of pipe is broken for Windows in C++ mode
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: other
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: OpenCL
          Assignee: unassignedclangbugs at nondot.org
          Reporter: marco.antognini at arm.com
                CC: anastasia.stulova at arm.com, llvm-bugs at lists.llvm.org,
                    rnk at google.com

As mentioned in
http://lists.llvm.org/pipermail/cfe-commits/Week-of-Mon-20190708/278270.html,
the pipe types are not properly mangled on Windows.

C:\b\slave\clang-x64-windows-msvc\build\llvm.src\tools\clang\test\CodeGenOpenCL\pipe_builtin.cl:9:1:
error: cannot mangle this OpenCL pipe type yet

void test1(read_only pipe int p, global int *ptr) {

^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

1 error generated.

It's unlikely related to D64074, which added the test that triggered the bug
elsewhere: unlike in C mode, in C++ mode we are mangling user-defined
functions.

-- 
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/20190710/f43cee8b/attachment-0001.html>


More information about the llvm-bugs mailing list