[all-commits] [llvm/llvm-project] 703d3f: [lld-macho] Make lld::getInteger() tolerate leadin...

Greg McGary via All-commits all-commits at lists.llvm.org
Tue Sep 22 08:56:44 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 703d3f25976c98bcf0e4717087c5a51b92c5f51a
      https://github.com/llvm/llvm-project/commit/703d3f25976c98bcf0e4717087c5a51b92c5f51a
  Author: Greg McGary <gkm at fb.com>
  Date:   2020-09-22 (Tue, 22 Sep 2020)

  Changed paths:
    M lld/Common/Args.cpp
    M lld/test/MachO/headerpad.s

  Log Message:
  -----------
  [lld-macho] Make lld::getInteger() tolerate leading "0x"/"0X" when base is 16

ld64 is cool with leading `0x` for hex command-line args, and we should be also.

Reviewed By: #lld-macho, int3

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




More information about the All-commits mailing list