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