| 1 |
#ifndef IREPATTRTODBG_H |
| 2 |
#define IREPATTRTODBG_H |
| 3 |
/* |
| 4 |
Copyright (C) 2010-2013 David Anderson. All rights reserved. |
| 5 |
|
| 6 |
Redistribution and use in source and binary forms, with |
| 7 |
or without modification, are permitted provided that the |
| 8 |
following conditions are met: |
| 9 |
|
| 10 |
* Redistributions of source code must retain the above |
| 11 |
copyright notice, this list of conditions and the following |
| 12 |
disclaimer. |
| 13 |
|
| 14 |
* Redistributions in binary form must reproduce the above |
| 15 |
copyright notice, this list of conditions and the following |
| 16 |
disclaimer in the documentation and/or other materials |
| 17 |
provided with the distribution. |
| 18 |
|
| 19 |
* Neither the name of the example nor the names of its |
| 20 |
contributors may be used to endorse or promote products |
| 21 |
derived from this software without specific prior written |
| 22 |
permission. |
| 23 |
|
| 24 |
THIS SOFTWARE IS PROVIDED BY David Anderson ''AS IS'' |
| 25 |
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT |
| 26 |
NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY |
| 27 |
AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN |
| 28 |
NO EVENT SHALL David Anderson BE LIABLE FOR ANY DIRECT, |
| 29 |
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
| 30 |
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT |
| 31 |
OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR |
| 32 |
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND |
| 33 |
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT |
| 34 |
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
| 35 |
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN |
| 36 |
IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 37 |
|
| 38 |
*/ |
| 39 |
|
| 40 |
// irepattrtodbg.h |
| 41 |
|
| 42 |
void AddAttrToDie(Dwarf_P_Debug dbg, |
| 43 |
IRepresentation & Irep, |
| 44 |
IRCUdata &cu, |
| 45 |
Dwarf_P_Die outdie,IRDie & irdie,IRAttr &irattr); |
| 46 |
|
| 47 |
#endif /* IREPATTRTODBG_H */ |