diff options
author | Zachary Turner <zturner@google.com> | 2019-02-15 20:43:56 +0000 |
---|---|---|
committer | Zachary Turner <zturner@google.com> | 2019-02-15 20:43:56 +0000 |
commit | 63c300cfc1f77b8d4d13e543cb0f1d9185deb6f1 (patch) | |
tree | 361c02304c4be577769bc474b9405ed3241ac5a1 /clang/unittests/Basic/FileManagerTest.cpp | |
parent | f59ea25ee62e7dee82c0bf2dd39494b6fa1f654e (diff) | |
download | llvm-63c300cfc1f77b8d4d13e543cb0f1d9185deb6f1.zip llvm-63c300cfc1f77b8d4d13e543cb0f1d9185deb6f1.tar.gz llvm-63c300cfc1f77b8d4d13e543cb0f1d9185deb6f1.tar.bz2 |
Don't include UnixSignals.h from Host.
Host had a function to get the UnixSignals instance corresponding
to the current host architecture. This means that Host had to
include a file from Target. To break this dependency, just make
this a static function directly in UnixSignals. We already have
the function UnixSignals::Create(ArchSpec) anyway, so we just
need to have UnixSignals::CreateForHost() which determines which
value to pass for the ArchSpec.
The goal here is to eventually break the Host->Target->Host
circular dependency.
Differential Revision: https://reviews.llvm.org/D57780
llvm-svn: 354168
Diffstat (limited to 'clang/unittests/Basic/FileManagerTest.cpp')
0 files changed, 0 insertions, 0 deletions