<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 - Make llvm-symbolizer behave close to GNU's addr2line"
   href="https://bugs.llvm.org/show_bug.cgi?id=40760">40760</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Make llvm-symbolizer behave close to GNU's addr2line
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>tools
          </td>
        </tr>

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

        <tr>
          <th>Hardware</th>
          <td>All
          </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>llvm-symbolizer
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>ikudrin@accesssoftek.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>We have several differences in the tool's behavior which make it hard to be a
drop-in replacement for addr2line.
In particular:

* llvm-symbolizer has -i, -f and -C options "on" by default;

* llvm-symbolizer prints line and position while addr2line prints only line.

* addr2line allows more flexible usage of the "-e" option.
  For example "-fe <file>" and "-e<file>" command lines are allowed.

While we probably should not change the behavior of the existing tool, which
might affect parsers of its output, can we have another tool, say,
"llvm-addr2line", which would behave close to GNU's one? Something similar to
that we have with "llvm-readobj"/"llvm-readelf".</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>