[libunwind] r297175 - Tidy up the way we include EHHeaderParser.hpp.
Ed Schouten via cfe-commits
cfe-commits at lists.llvm.org
Tue Mar 7 10:21:52 PST 2017
Author: ed
Date: Tue Mar 7 12:21:51 2017
New Revision: 297175
URL: http://llvm.org/viewvc/llvm-project?rev=297175&view=rev
Log:
Tidy up the way we include EHHeaderParser.hpp.
Other source files in the source tree tend to include this header file
unconditionally. It also parses perfectly fine on ARM EHABI systems.
Modified:
libunwind/trunk/src/AddressSpace.hpp
Modified: libunwind/trunk/src/AddressSpace.hpp
URL: http://llvm.org/viewvc/llvm-project/libunwind/trunk/src/AddressSpace.hpp?rev=297175&r1=297174&r2=297175&view=diff
==============================================================================
--- libunwind/trunk/src/AddressSpace.hpp (original)
+++ libunwind/trunk/src/AddressSpace.hpp Tue Mar 7 12:21:51 2017
@@ -32,6 +32,7 @@ namespace libunwind {
#include "libunwind.h"
#include "config.h"
#include "dwarf2.h"
+#include "EHHeaderParser.hpp"
#include "Registers.hpp"
namespace libunwind {
@@ -331,10 +332,6 @@ extern char __exidx_end;
#define ElfW(type) Elf_##type
#endif
-#if _LIBUNWIND_SUPPORT_DWARF_UNWIND
-#include "EHHeaderParser.hpp"
-#endif
-
#endif
inline bool LocalAddressSpace::findUnwindSections(pint_t targetAddr,
More information about the cfe-commits
mailing list