| 1 |
// Compiler implementation of the D programming language |
|---|
| 2 |
// Copyright (c) 2004-2007 by Digital Mars |
|---|
| 3 |
// All Rights Reserved |
|---|
| 4 |
// written by Walter Bright |
|---|
| 5 |
// http://www.digitalmars.com |
|---|
| 6 |
// License for redistribution is by either the Artistic License |
|---|
| 7 |
// in artistic.txt, or the GNU General Public License in gnu.txt. |
|---|
| 8 |
// See the included readme.txt for details. |
|---|
| 9 |
|
|---|
| 10 |
|
|---|
| 11 |
#include <stdio.h> |
|---|
| 12 |
#include <stddef.h> |
|---|
| 13 |
#include <time.h> |
|---|
| 14 |
#include <assert.h> |
|---|
| 15 |
|
|---|
| 16 |
#include "mars.h" |
|---|
| 17 |
#include "module.h" |
|---|
| 18 |
#include "mtype.h" |
|---|
| 19 |
#include "declaration.h" |
|---|
| 20 |
#include "statement.h" |
|---|
| 21 |
#include "enum.h" |
|---|
| 22 |
#include "aggregate.h" |
|---|
| 23 |
#include "init.h" |
|---|
| 24 |
#include "attrib.h" |
|---|
| 25 |
#include "id.h" |
|---|
| 26 |
#include "import.h" |
|---|
| 27 |
#include "template.h" |
|---|
| 28 |
|
|---|
| 29 |
#include "rmem.h" |
|---|
| 30 |
#include "cc.h" |
|---|
| 31 |
#include "global.h" |
|---|
| 32 |
#include "oper.h" |
|---|
| 33 |
#include "code.h" |
|---|
| 34 |
#include "type.h" |
|---|
| 35 |
#include "dt.h" |
|---|
| 36 |
#include "cv4.h" |
|---|
| 37 |
#include "cgcv.h" |
|---|
| 38 |
#include "outbuf.h" |
|---|
| 39 |
#include "irstate.h" |
|---|
| 40 |
|
|---|
| 41 |
/**************************** |
|---|
| 42 |
* Emit symbolic debug info in Dwarf2 format. |
|---|
| 43 |
*/ |
|---|
| 44 |
|
|---|
| 45 |
void TypedefDeclaration::toDebug() |
|---|
| 46 |
{ |
|---|
| 47 |
//printf("TypedefDeclaration::toDebug('%s')\n", toChars()); |
|---|
| 48 |
} |
|---|
| 49 |
|
|---|
| 50 |
|
|---|
| 51 |
void EnumDeclaration::toDebug() |
|---|
| 52 |
{ |
|---|
| 53 |
//printf("EnumDeclaration::toDebug('%s')\n", toChars()); |
|---|
| 54 |
} |
|---|
| 55 |
|
|---|
| 56 |
|
|---|
| 57 |
void StructDeclaration::toDebug() |
|---|
| 58 |
{ |
|---|
| 59 |
} |
|---|
| 60 |
|
|---|
| 61 |
|
|---|
| 62 |
void ClassDeclaration::toDebug() |
|---|
| 63 |
{ |
|---|
| 64 |
} |
|---|
| 65 |
|
|---|
| 66 |
|
|---|
| 67 |
/* ===================================================================== */ |
|---|
| 68 |
|
|---|
| 69 |
/***************************************** |
|---|
| 70 |
* Insert CV info into *p. |
|---|
| 71 |
* Returns: |
|---|
| 72 |
* number of bytes written, or that would be written if p==NULL |
|---|
| 73 |
*/ |
|---|
| 74 |
|
|---|
| 75 |
int Dsymbol::cvMember(unsigned char *p) |
|---|
| 76 |
{ |
|---|
| 77 |
return 0; |
|---|
| 78 |
} |
|---|
| 79 |
|
|---|
| 80 |
|
|---|
| 81 |
int TypedefDeclaration::cvMember(unsigned char *p) |
|---|
| 82 |
{ |
|---|
| 83 |
return 0; |
|---|
| 84 |
} |
|---|
| 85 |
|
|---|
| 86 |
|
|---|
| 87 |
int EnumDeclaration::cvMember(unsigned char *p) |
|---|
| 88 |
{ |
|---|
| 89 |
return 0; |
|---|
| 90 |
} |
|---|
| 91 |
|
|---|
| 92 |
|
|---|
| 93 |
int FuncDeclaration::cvMember(unsigned char *p) |
|---|
| 94 |
{ |
|---|
| 95 |
return 0; |
|---|
| 96 |
} |
|---|
| 97 |
|
|---|
| 98 |
int VarDeclaration::cvMember(unsigned char *p) |
|---|
| 99 |
{ |
|---|
| 100 |
return 0; |
|---|
| 101 |
} |
|---|