[PATCH] D100357: [lld-macho] Have toString() emit full path to archive files

Jez Ng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 12 18:22:36 PDT 2021


int3 created this revision.
int3 added a reviewer: lld-macho.
Herald added a project: lld-macho.
int3 requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

It doesn't make sense to take just the base filename for archives when we emit
the full path for object files. (LLD-ELF emits the full path too.)

This will also make it easier to write a proper test for D100147: [lld-macho] Re-root absolute input file paths if -syslibroot is specified <https://reviews.llvm.org/D100147>.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D100357

Files:
  lld/MachO/InputFiles.cpp
  lld/test/MachO/invalid/undefined-symbol.s
  lld/test/MachO/u.s
  lld/test/MachO/why-load.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D100357.337014.patch
Type: text/x-patch
Size: 4769 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210413/9211e0de/attachment.bin>


More information about the llvm-commits mailing list