[all-commits] [llvm/llvm-project] 9a709d: llvm-addr2line: assume addresses on the command li...

Richard Smith via All-commits all-commits at lists.llvm.org
Thu Apr 16 16:16:40 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 9a709dd2bb452883e1f1cf626d60c3f03801a9f3
      https://github.com/llvm/llvm-project/commit/9a709dd2bb452883e1f1cf626d60c3f03801a9f3
  Author: Richard Smith <richard at metafoo.co.uk>
  Date:   2020-04-16 (Thu, 16 Apr 2020)

  Changed paths:
    M llvm/docs/CommandGuide/llvm-addr2line.rst
    M llvm/test/lit.cfg.py
    A llvm/test/tools/llvm-symbolizer/input-base.test
    M llvm/tools/llvm-symbolizer/llvm-symbolizer.cpp

  Log Message:
  -----------
  llvm-addr2line: assume addresses on the command line are hexadecimal rather than attempting to guess the base based on the form of the number.

Summary:
This matches the behavior of GNU addr2line. We previously treated
hexadecimal addresses as binary if they started with 0b, otherwise as
octal if they started with 0, otherwise as decimal.

This only affects llvm-addr2line; the behavior of llvm-symbolize is
unaffected.

Reviewers: ikudrin, rupprecht, jhenderson

Subscribers: llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D73306




More information about the All-commits mailing list