[llvm-objcopy][MachO] Fix build
authorAlexander Shaposhnikov <alexshap@fb.com>
Tue, 28 Apr 2020 01:20:01 +0000 (18:20 -0700)
committerAlexander Shaposhnikov <alexshap@fb.com>
Tue, 28 Apr 2020 01:20:01 +0000 (18:20 -0700)
commit29c6f5c7fdd981ebf03f7f61ab4c328fad7555dc
treea59037d5a273661be679a3712c7539086d0b6747
parent0db3a5a93e113d681e78ea5f7dd8cd1020d02a7b
[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)
llvm/tools/llvm-objcopy/MachO/MachOReader.cpp
llvm/tools/llvm-objcopy/MachO/MachOWriter.cpp
llvm/tools/llvm-objcopy/MachO/Object.h