Remove unnecessary llvm/Config/config.h includes
authorMichal Gorny <mgorny@gentoo.org>
Wed, 14 Dec 2016 20:53:57 +0000 (20:53 +0000)
committerMichal Gorny <mgorny@gentoo.org>
Wed, 14 Dec 2016 20:53:57 +0000 (20:53 +0000)
commit906534fe4e702cff11d2d3478c868fe2eb2ec088
treee414b5aac169cd1c01f9123ce06903087e9b6701
parentcbed30c5012b9b52a495dadc94f14ea54f1b5b10
Remove unnecessary llvm/Config/config.h includes

Remove the includes of <llvm/Config/config.h> private LLVM header.
The relevant files seem not to use any definitions from that file,
and it is not available when building against installed LLVM.

The use in lib/ReaderWriter/MachO/MachOLinkingContext.cpp originates
from rL218718, and the use in ELF/Strings.cpp from rL274804 (where it
was moved from Symbols.cpp). In both cases, they were added as a part of
demangling support, and they provided HAVE_CXXABI_H.

Since we are now using the LLVM demangler library instead, the code was
removed and the includes and no longer necessary.

Differential Revision: https://reviews.llvm.org/D27757

llvm-svn: 289707
lld/ELF/Strings.cpp
lld/lib/ReaderWriter/MachO/MachOLinkingContext.cpp