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: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected]

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.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to