[prev in list] [next in list] [prev in thread] [next in thread] 

List:       llvm-bugs
Subject:    [llvm-bugs] [Bug 46522] New: [DWARF] Template instance name not consistent with CodeView.
From:       via llvm-bugs <llvm-bugs () lists ! llvm ! org>
Date:       2020-06-30 16:27:42
Message-ID: bug-46522-206 () http ! bugs ! llvm ! org/
[Download RAW message or body]

--1593534462.cE3B17040.5705
Date: Tue, 30 Jun 2020 09:27:42 -0700
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.llvm.org/
Auto-Submitted: auto-generated

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

            Bug ID: 46522
           Summary: [DWARF] Template instance name not consistent with
                    CodeView.
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: DebugInfo
          Assignee: unassignedbugs@nondot.org
          Reporter: international.phantom@gmail.com
                CC: jdevlieghere@apple.com, keith.walker@arm.com,
                    llvm-bugs@lists.llvm.org,
                    paul_robinson@playstation.sony.com

For the given test:

//----------------------------------------------------------

template<class U,class V>
struct S {
};

S<int, char> SS;

//----------------------------------------------------------

The name generated for the template instance, is not consistent between clang
(DWARF) and clang (CodeView), making search or compare difficult.

Clang (DWARF):     'S<int, char>'     <-- Added space
Clang (CodeView):  'S<int,char>'

GCC (DWARF):       'S<int, char>'
MSVC (CodeView):   'S<int,char>'

Clang (DWARF) adds a space between arguments.
Clang (CodeView) does not add any spaces.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
--1593534462.cE3B17040.5705
Date: Tue, 30 Jun 2020 09:27:42 -0700
MIME-Version: 1.0
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: http://bugs.llvm.org/
Auto-Submitted: auto-generated

<html>
    <head>
      <base href="https://bugs.llvm.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [DWARF] Template instance name not consistent with CodeView."
   href="https://bugs.llvm.org/show_bug.cgi?id=46522">46522</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[DWARF] Template instance name not consistent with CodeView.
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libraries
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>DebugInfo
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs&#64;nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>international.phantom&#64;gmail.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>jdevlieghere&#64;apple.com, keith.walker&#64;arm.com, \
llvm-bugs&#64;lists.llvm.org, paul_robinson&#64;playstation.sony.com  </td>
        </tr></table>
      <p>
        <div>
        <pre>For the given test:

//----------------------------------------------------------

template&lt;class U,class V&gt;
struct S {
};

S&lt;int, char&gt; SS;

//----------------------------------------------------------

The name generated for the template instance, is not consistent between clang
(DWARF) and clang (CodeView), making search or compare difficult.

Clang (DWARF):     'S&lt;int, char&gt;'     &lt;-- Added space
Clang (CodeView):  'S&lt;int,char&gt;'

GCC (DWARF):       'S&lt;int, char&gt;'
MSVC (CodeView):   'S&lt;int,char&gt;'

Clang (DWARF) adds a space between arguments.
Clang (CodeView) does not add any spaces.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>
--1593534462.cE3B17040.5705--


[Attachment #3 (text/plain)]

_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic