[PATCH] D88065: [lld-macho] Make lld::getInteger() tolerate leading "0x"/"0X" when base is 16
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 21 20:48:48 PDT 2020
MaskRay added inline comments.
================
Comment at: lld/Common/Args.cpp:39
+ s = s.drop_front(2);
+ if (to_integer(s, v, base))
return v;
----------------
If base == 0, to_integer can parse the 0x prefix.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D88065/new/
https://reviews.llvm.org/D88065
More information about the llvm-commits
mailing list