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

Jez Ng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 21 19:37:57 PDT 2020


int3 accepted this revision.
int3 added a comment.
This revision is now accepted and ready to land.

Thanks for the explanation!



================
Comment at: lld/test/MachO/headerpad.s:35
 # RUN: llvm-objdump --macho --all-headers %t | FileCheck %s --check-prefix=PAD11
+# RUN: lld -flavor darwinnew -o %t %t.o -headerpad 0x11
+# RUN: llvm-objdump --macho --all-headers %t | FileCheck %s --check-prefix=PAD11
----------------
wouldn't hurt to test the `0X` case too


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