Files
ldc/toelfdebug.c
Alexey Prokhin caad8cde58 Squashed 'dmd2/' content from commit 10017d5
git-subtree-dir: dmd2
git-subtree-split: 10017d50eaaff4ecdc37a0153b6c37ea0b004c81
2012-04-05 11:10:48 +04:00

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;
}