summaryrefslogtreecommitdiff
path: root/src/EHHeaderParser.hpp
diff options
context:
space:
mode:
authorEd Schouten <ed@nuxi.nl>2017-03-09 08:04:07 +0000
committerEd Schouten <ed@nuxi.nl>2017-03-09 08:04:07 +0000
commit188f3c7c17139dfb77518a1b52dfa482d9e1ced2 (patch)
treea518cb868230aa174bf43dbccfe9d836ef01e570 /src/EHHeaderParser.hpp
parent2fd2d585a530d0564a5ef4b1184e0767c84c93b0 (diff)
Fix up the places where AddressSpace.hpp is included.
The AddressSpace.hpp header declares two classes: LocalAddressSpace and RemoteAddressSpace. These classes are only used in a very small number of source files, but passed in as template arguments to many other classes. Let's go ahead and only include AddressSpace.hpp in source files where at least one of these two classes is mentioned. This gets rid of a cyclic header dependency that was already present, but only caused breakage on macOS until recently. Reported by: Marshall Clow git-svn-id: https://llvm.org/svn/llvm-project/libunwind/trunk@297364 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'src/EHHeaderParser.hpp')
-rw-r--r--src/EHHeaderParser.hpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/EHHeaderParser.hpp b/src/EHHeaderParser.hpp
index 6c3ccc8..c66af21 100644
--- a/src/EHHeaderParser.hpp
+++ b/src/EHHeaderParser.hpp
@@ -15,7 +15,6 @@
#include "libunwind.h"
-#include "AddressSpace.hpp"
#include "DwarfParser.hpp"
namespace libunwind {