[PATCH] D76391: Add an -object-path-prefix option to dsymutil

Adrian Prantl via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 18 15:46:42 PDT 2020


aprantl created this revision.
aprantl added reviewers: friss, JDevlieghere.
aprantl added a project: debug-info.
Herald added a subscriber: hiraditya.
aprantl added parent revisions: D76385: Allow remapping Clang module include paths, D76383: Allow remapping Clang module skeleton CU references with -fdebug-prefix-map, D76377: Correctly initialize the DW_AT_comp_dir attribute of Clang module skeleton CUs.

to remap object file paths (but no source paths) before
processing. This is meant to be used for Clang objects where the
module cache location was remapped using ``-fdebug-prefix-map``; to
help dsymutil find the Clang module cache.

rdar://problem/55685132


https://reviews.llvm.org/D76391

Files:
  llvm/docs/CommandGuide/dsymutil.rst
  llvm/include/llvm/DWARFLinker/DWARFLinker.h
  llvm/lib/DWARFLinker/DWARFLinker.cpp
  llvm/test/tools/dsymutil/X86/object-prefix-path.test
  llvm/test/tools/dsymutil/cmdline.test
  llvm/tools/dsymutil/DwarfLinkerForBinary.cpp
  llvm/tools/dsymutil/LinkUtils.h
  llvm/tools/dsymutil/Options.td
  llvm/tools/dsymutil/dsymutil.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D76391.251197.patch
Type: text/x-patch
Size: 6545 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200318/d1dd5b80/attachment-0001.bin>


More information about the llvm-commits mailing list