[PECOFF] Rename getSectionAlignment -> getSectionDefaultAlignment.

These fields are for /align option. Section alignment can be set per-section
basis with /section option too. In order to avoid name conflicts, rename the
existing identifiers to become more specific. No functionality change.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@194160 91177308-0d34-0410-b5e6-96231b3b80d8
rename local variable to avoid shadowing warning

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@194166 91177308-0d34-0410-b5e6-96231b3b80d8
[mach-o] binary reader and writer 

This patch adds support for converting normalized mach-o to and from binary
mach-o. It also changes WriterMachO (which previously directly wrote a 
mach-o binary given a set of Atoms) to instead do it in two steps. The first 
step uses normalizedFromAtoms() to convert Atoms to normalized mach-o, and the
second step uses writeBinary() which to generate the mach-o binary file.  



git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@194167 91177308-0d34-0410-b5e6-96231b3b80d8
[mach-o] make unspecifiedPageZeroSize const to fix VC++ error

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@194169 91177308-0d34-0410-b5e6-96231b3b80d8
[mach-o] fix DEBUG_WITH_TYPE to compile without warnings in non-debug case

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@194171 91177308-0d34-0410-b5e6-96231b3b80d8
[mach-o] add llvm_unreachable

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@194172 91177308-0d34-0410-b5e6-96231b3b80d8
[mach-o] fix EXPECT_EQ types

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@194173 91177308-0d34-0410-b5e6-96231b3b80d8
Hopefully fix latent bug where lldCore dependency on lldYAML was not in CMake files

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@194177 91177308-0d34-0410-b5e6-96231b3b80d8
add debug logging to help figure out why some tests fail on some build bots

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@194186 91177308-0d34-0410-b5e6-96231b3b80d8
[mach-o] fix memory ownership in test case

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@194187 91177308-0d34-0410-b5e6-96231b3b80d8
Add explictly exported atoms and export R_*_COPY'ed atoms.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@194278 91177308-0d34-0410-b5e6-96231b3b80d8
[mach-o] add debugging to help explain one build bot failure

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@194280 91177308-0d34-0410-b5e6-96231b3b80d8
[mach-o] fix uninitialized variable

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@194290 91177308-0d34-0410-b5e6-96231b3b80d8
[mach-o] revert gunk added to test cases to debug build bot failures

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@194292 91177308-0d34-0410-b5e6-96231b3b80d8
[mach-o] reduce duplicate source code by using a templated method.  No functionality change.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@194299 91177308-0d34-0410-b5e6-96231b3b80d8
[mach-o] Use LEB128 stuff from llvm/Support.  No functionality change.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@194305 91177308-0d34-0410-b5e6-96231b3b80d8
Remove empty namespace.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@194322 91177308-0d34-0410-b5e6-96231b3b80d8