diff options
author | Michal Gorny <mgorny@gentoo.org> | 2016-12-14 20:53:57 +0000 |
---|---|---|
committer | Michal Gorny <mgorny@gentoo.org> | 2016-12-14 20:53:57 +0000 |
commit | 328fe6fd506db936834a33894897ae689d33bb10 (patch) | |
tree | 2bddf99ef5b2e78ea4ce11628fadcf7c8a95f2f8 /lib | |
parent | c6fa7e55d3d3ecc62a1df1c5c313390839251b73 (diff) |
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
git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@289707 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ReaderWriter/MachO/MachOLinkingContext.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/ReaderWriter/MachO/MachOLinkingContext.cpp b/lib/ReaderWriter/MachO/MachOLinkingContext.cpp index d6ab0b40c..db4a96823 100644 --- a/lib/ReaderWriter/MachO/MachOLinkingContext.cpp +++ b/lib/ReaderWriter/MachO/MachOLinkingContext.cpp @@ -22,7 +22,6 @@ #include "llvm/ADT/STLExtras.h" #include "llvm/ADT/StringExtras.h" #include "llvm/ADT/Triple.h" -#include "llvm/Config/config.h" #include "llvm/Demangle/Demangle.h" #include "llvm/Support/Debug.h" #include "llvm/Support/Errc.h" |