Mercurial > projects > ldc
comparison gen/todebug.cpp @ 133:44a95ac7368a trunk
[svn r137] Many fixes towards tango.io.Console working, but not quite there yet...
In particular, assertions has been fixed to include file/line info, and much more!
author | lindquist |
---|---|
date | Mon, 14 Jan 2008 05:11:54 +0100 |
parents | 5825d48b27d1 |
children | 0e28624814e8 |
comparison
equal
deleted
inserted
replaced
132:1700239cab2e | 133:44a95ac7368a |
---|---|
13 | 13 |
14 using namespace llvm::dwarf; | 14 using namespace llvm::dwarf; |
15 | 15 |
16 static const llvm::PointerType* ptrTy(const llvm::Type* t) | 16 static const llvm::PointerType* ptrTy(const llvm::Type* t) |
17 { | 17 { |
18 return llvm::PointerType::get(t); | 18 return llvm::PointerType::get(t, 0); |
19 } | 19 } |
20 | 20 |
21 static const llvm::PointerType* dbgArrTy() | 21 static const llvm::PointerType* dbgArrTy() |
22 { | 22 { |
23 std::vector<const llvm::Type*> t; | 23 std::vector<const llvm::Type*> t; |