diff options
author | Reid Kleckner <rnk@google.com> | 2021-10-08 10:48:15 -0700 |
---|---|---|
committer | Reid Kleckner <rnk@google.com> | 2021-10-08 14:51:48 -0700 |
commit | 89b57061f7b769e9ea9bf6ed686e284f3e55affe (patch) | |
tree | bca28b6459fb9dbaef3f43c4222d414b4576d0de /llvm/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp | |
parent | 3db1ade368e538ba795486eea4923e331a8dde5a (diff) | |
download | llvm-89b57061f7b769e9ea9bf6ed686e284f3e55affe.zip llvm-89b57061f7b769e9ea9bf6ed686e284f3e55affe.tar.gz llvm-89b57061f7b769e9ea9bf6ed686e284f3e55affe.tar.bz2 |
Move TargetRegistry.(h|cpp) from Support to MC
This moves the registry higher in the LLVM library dependency stack.
Every client of the target registry needs to link against MC anyway to
actually use the target, so we might as well move this out of Support.
This allows us to ensure that Support doesn't have includes from MC/*.
Differential Revision: https://reviews.llvm.org/D111454
Diffstat (limited to 'llvm/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp')
-rw-r--r-- | llvm/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp b/llvm/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp index 2787297..6d6d4e0 100644 --- a/llvm/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp +++ b/llvm/unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp @@ -23,11 +23,11 @@ #include "llvm/MC/MCContext.h" #include "llvm/MC/MCSectionELF.h" #include "llvm/MC/MCStreamer.h" +#include "llvm/MC/TargetRegistry.h" #include "llvm/Object/ObjectFile.h" #include "llvm/ObjectYAML/DWARFEmitter.h" #include "llvm/Support/Error.h" #include "llvm/Support/MemoryBuffer.h" -#include "llvm/Support/TargetRegistry.h" #include "llvm/Support/TargetSelect.h" #include "llvm/Testing/Support/Error.h" #include "gtest/gtest.h" |