[all-commits] [llvm/llvm-project] 29c6f5: [llvm-objcopy][MachO] Fix build

Alexander Shaposhnikov via All-commits all-commits at lists.llvm.org
Mon Apr 27 18:24:25 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 29c6f5c7fdd981ebf03f7f61ab4c328fad7555dc
      https://github.com/llvm/llvm-project/commit/29c6f5c7fdd981ebf03f7f61ab4c328fad7555dc
  Author: Alexander Shaposhnikov <alexshap at fb.com>
  Date:   2020-04-27 (Mon, 27 Apr 2020)

  Changed paths:
    M llvm/tools/llvm-objcopy/MachO/MachOReader.cpp
    M llvm/tools/llvm-objcopy/MachO/MachOWriter.cpp
    M llvm/tools/llvm-objcopy/MachO/Object.h

  Log Message:
  -----------
  [llvm-objcopy][MachO] Fix build

Some compilers are confused when the same name is used in different contexts.
Rename the field Section to unbreak the build.
(Caught by the buildbot http://lab.llvm.org:8011/builders/clang-with-thin-lto-ubuntu/builds/22374)




More information about the All-commits mailing list