[all-commits] [llvm/llvm-project] f134a7: [llvm-objcopy] remove split dwo file creation from...

avl-llvm via All-commits all-commits at lists.llvm.org
Thu Mar 18 03:47:11 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f134a7158b1eb1b1a63dc402b46a57bf6e5ec897
      https://github.com/llvm/llvm-project/commit/f134a7158b1eb1b1a63dc402b46a57bf6e5ec897
  Author: Alexey Lapshin <a.v.lapshin at mail.ru>
  Date:   2021-03-18 (Thu, 18 Mar 2021)

  Changed paths:
    M llvm/tools/llvm-objcopy/ELF/ELFObjcopy.cpp
    M llvm/tools/llvm-objcopy/llvm-objcopy.cpp

  Log Message:
  -----------
  [llvm-objcopy] remove split dwo file creation from executeObjcopyOnBinary.

This patch removes creation of the resulting file from the
executeObjcopyOnBinary() function. For the most use cases, the
executeObjcopyOnBinary receives output file as a parameter
- raw_ostream &Out. The splitting .dwo file is implemented differently:
file containg .dwo tables is created inside executeObjcopyOnBinary().
When objcopy functionality would be moved into separate library,
current implementation will become inconvenient. The goal of that
refactoring is to separate concerns: It might be convenient to
to do dwo tables splitting but to create resulting file differently.

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




More information about the All-commits mailing list