[PECOFF] Fix the test to run.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@194003 91177308-0d34-0410-b5e6-96231b3b80d8
[ELF] Fix typo in the expression calculates an absolute atom offset.

Patch reviewed by Shankar Easwaran.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@194010 91177308-0d34-0410-b5e6-96231b3b80d8
Replace ErrorOr<void> with error_code.

It was never transporting any value in addition to the error_code.

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

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