The function was used only within Relocations.cpp, but now we are
using it in many places, so this patch moves it to a file that fits
to the functionality.
git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@287943 91177308-0d34-0410-b5e6-96231b3b80d8
"A zero length string indicates that no augmentation data is present."
The FreeBSD/mips toolchain (GCC 4.2.1) generates .debug_frame sections
containing CIE records that have an empty augmentation string.
Differential Revision: http://reviews.llvm.org/D19928
git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@270706 91177308-0d34-0410-b5e6-96231b3b80d8