OSDN Git Service

Include what you use in AArch64AsmBackend.cpp
authorDmitri Gribenko <gribozavr@gmail.com>
Mon, 27 May 2019 17:03:57 +0000 (17:03 +0000)
committerDmitri Gribenko <gribozavr@gmail.com>
Mon, 27 May 2019 17:03:57 +0000 (17:03 +0000)
commit05054ff6cbeff669d2f2a62d1d993282cd160c0d
treebcdc8f6bb3aa283703162d48689abbaa6421b65d
parentb33122639d85c7f932f88e840d1ee798f25cfea4
Include what you use in AArch64AsmBackend.cpp

AArch64AsmBackend.cpp was not using any APIs from AArch64.h, and was
only including it for transitive dependencies.  Doing so is problematic
from include-what-you-use perspective, but it is also a layering issue
(it creates a dependency cycle between the primary AArch64 target
library and the MCTargetDesc library).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@361774 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AArch64/MCTargetDesc/AArch64AsmBackend.cpp