mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-12 02:43:14 +01:00
104 lines
1.8 KiB
C
104 lines
1.8 KiB
C
|
|
// Compiler implementation of the D programming language
|
|
// Copyright (c) 2004-2007 by Digital Mars
|
|
// All Rights Reserved
|
|
// written by Walter Bright
|
|
// http://www.digitalmars.com
|
|
// License for redistribution is by either the Artistic License
|
|
// in artistic.txt, or the GNU General Public License in gnu.txt.
|
|
// See the included readme.txt for details.
|
|
|
|
|
|
#include <stdio.h>
|
|
#include <stddef.h>
|
|
#include <time.h>
|
|
#include <assert.h>
|
|
|
|
#include "mars.h"
|
|
#include "module.h"
|
|
#include "mtype.h"
|
|
#include "declaration.h"
|
|
#include "statement.h"
|
|
#include "enum.h"
|
|
#include "aggregate.h"
|
|
#include "init.h"
|
|
#include "attrib.h"
|
|
#include "id.h"
|
|
#include "import.h"
|
|
#include "template.h"
|
|
|
|
#include "rmem.h"
|
|
#include "cc.h"
|
|
#include "global.h"
|
|
#include "oper.h"
|
|
#include "code.h"
|
|
#include "type.h"
|
|
#include "dt.h"
|
|
#include "cv4.h"
|
|
#include "cgcv.h"
|
|
#include "outbuf.h"
|
|
#include "irstate.h"
|
|
|
|
/****************************
|
|
* Emit symbolic debug info in Dwarf2 format.
|
|
*/
|
|
|
|
void TypedefDeclaration::toDebug()
|
|
{
|
|
//printf("TypedefDeclaration::toDebug('%s')\n", toChars());
|
|
}
|
|
|
|
|
|
void EnumDeclaration::toDebug()
|
|
{
|
|
//printf("EnumDeclaration::toDebug('%s')\n", toChars());
|
|
}
|
|
|
|
|
|
void StructDeclaration::toDebug()
|
|
{
|
|
}
|
|
|
|
|
|
void ClassDeclaration::toDebug()
|
|
{
|
|
}
|
|
|
|
|
|
/* ===================================================================== */
|
|
|
|
/*****************************************
|
|
* Insert CV info into *p.
|
|
* Returns:
|
|
* number of bytes written, or that would be written if p==NULL
|
|
*/
|
|
|
|
int Dsymbol::cvMember(unsigned char *p)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
|
|
int TypedefDeclaration::cvMember(unsigned char *p)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
|
|
int EnumDeclaration::cvMember(unsigned char *p)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
|
|
int FuncDeclaration::cvMember(unsigned char *p)
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
int VarDeclaration::cvMember(unsigned char *p)
|
|
{
|
|
return 0;
|
|
}
|
|
|