[PATCH] D73306: llvm-addr2line: assume addresses on the command line are hexadecimal rather than attempting to guess the base based on the form of the number.
    Richard Smith - zygoloid via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Thu Jan 23 16:40:12 PST 2020
    
    
  
rsmith created this revision.
rsmith added reviewers: ikudrin, rupprecht.
Herald added a reviewer: jhenderson.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
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.
Repository:
  rG LLVM Github Monorepo
https://reviews.llvm.org/D73306
Files:
  llvm/docs/CommandGuide/llvm-addr2line.rst
  llvm/test/lit.cfg.py
  llvm/test/tools/llvm-symbolizer/input-base.test
  llvm/tools/llvm-symbolizer/llvm-symbolizer.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D73306.240046.patch
Type: text/x-patch
Size: 4547 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200124/d5acaea7/attachment.bin>
    
    
More information about the llvm-commits
mailing list