14684ddb6SLionel Sambuc /* 24684ddb6SLionel Sambuc * Copyright 2012 David Chisnall. All rights reserved. 34684ddb6SLionel Sambuc * 44684ddb6SLionel Sambuc * Permission is hereby granted, free of charge, to any person obtaining a copy 54684ddb6SLionel Sambuc * of this software and associated documentation files (the "Software"), to 64684ddb6SLionel Sambuc * deal in the Software without restriction, including without limitation the 74684ddb6SLionel Sambuc * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or 84684ddb6SLionel Sambuc * sell copies of the Software, and to permit persons to whom the Software is 94684ddb6SLionel Sambuc * furnished to do so, subject to the following conditions: 104684ddb6SLionel Sambuc * 114684ddb6SLionel Sambuc * The above copyright notice and this permission notice shall be 124684ddb6SLionel Sambuc * included in all copies or substantial portions of the Software. 134684ddb6SLionel Sambuc * 144684ddb6SLionel Sambuc * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 154684ddb6SLionel Sambuc * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 164684ddb6SLionel Sambuc * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 174684ddb6SLionel Sambuc * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE 184684ddb6SLionel Sambuc * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION 194684ddb6SLionel Sambuc * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION 204684ddb6SLionel Sambuc * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 214684ddb6SLionel Sambuc */ 224684ddb6SLionel Sambuc 234684ddb6SLionel Sambuc #ifndef UNWIND_H_INCLUDED 244684ddb6SLionel Sambuc #define UNWIND_H_INCLUDED 254684ddb6SLionel Sambuc 264684ddb6SLionel Sambuc #ifdef __cplusplus 274684ddb6SLionel Sambuc extern "C" { 284684ddb6SLionel Sambuc #endif 294684ddb6SLionel Sambuc 30*0a6a1f1dSLionel Sambuc #if defined(__arm__) && !defined(__ARM_DWARF_EH__) 314684ddb6SLionel Sambuc #include "unwind-arm.h" 324684ddb6SLionel Sambuc #else 334684ddb6SLionel Sambuc #include "unwind-itanium.h" 344684ddb6SLionel Sambuc #endif 354684ddb6SLionel Sambuc 364684ddb6SLionel Sambuc #ifdef __cplusplus 374684ddb6SLionel Sambuc } 384684ddb6SLionel Sambuc #endif 394684ddb6SLionel Sambuc 404684ddb6SLionel Sambuc #endif 41