[all-commits] [llvm/llvm-project] 7c65e8: [llvm-objcopy] Match GNU behaviour regarding file ...

Yi Kong via All-commits all-commits at lists.llvm.org
Mon Apr 20 20:30:28 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 7c65e88d0bc85ff2732a4e23c397ff842b97b828
      https://github.com/llvm/llvm-project/commit/7c65e88d0bc85ff2732a4e23c397ff842b97b828
  Author: Yi Kong <yikong at google.com>
  Date:   2020-04-21 (Tue, 21 Apr 2020)

  Changed paths:
    M llvm/test/tools/llvm-objcopy/ELF/keep-file-symbols.test
    M llvm/test/tools/llvm-objcopy/ELF/strip-debug.test
    M llvm/tools/llvm-objcopy/CopyConfig.cpp
    M llvm/tools/llvm-objcopy/ELF/ELFObjcopy.cpp

  Log Message:
  -----------
  [llvm-objcopy] Match GNU behaviour regarding file symbols

GNU objcopy removes STT_FILE symbols for strip-debug operations, and
keeps them for --discard-all operation. Match their behaviour for
llvm-objcopy.

Bug: https://github.com/android/ndk/issues/1212

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




More information about the All-commits mailing list