annotate lphobos/gcstats.d @ 1650:40bd4a0d4870
Update to work with LLVM 2.7.
Removed use of dyn_cast, llvm no compiles
without exceptions and rtti by
default. We do need exceptions for the libconfig stuff, but rtti isn't
necessary (anymore).
Debug info needs to be rewritten, as in LLVM 2.7 the format has
completely changed. To have something to look at while rewriting, the
old code has been wrapped inside #ifndef DISABLE_DEBUG_INFO , this means
that you have to define this to compile at the moment.
Updated tango 0.99.9 patch to include updated EH runtime code, which is
needed for LLVM 2.7 as well.
author |
Tomas Lindquist Olsen |
date |
Wed, 19 May 2010 12:42:32 +0200 |
parents |
c53b6e3fe49a |
children |
|
rev |
line source |
1
|
1 // Copyright (c) 1999-2002 by Digital Mars
|
|
2 // All Rights Reserved
|
|
3 // written by Walter Bright
|
|
4 // www.digitalmars.com
|
|
5
|
|
6 struct GCStats
|
|
7 {
|
|
8 size_t poolsize; // total size of pool
|
|
9 size_t usedsize; // bytes allocated
|
|
10 size_t freeblocks; // number of blocks marked FREE
|
|
11 size_t freelistsize; // total of memory on free lists
|
|
12 size_t pageblocks; // number of blocks marked PAGE
|
|
13 }
|
|
14
|
|
15
|