Add the source language into the compile unit.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@151143 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Christopher
2012-02-22 08:46:13 +00:00
parent e2dc9336d1
commit 438b092a4b
3 changed files with 10 additions and 4 deletions

View File

@ -32,8 +32,9 @@
using namespace llvm;
/// CompileUnit - Compile unit constructor.
CompileUnit::CompileUnit(unsigned I, DIE *D, AsmPrinter *A, DwarfDebug *DW)
: ID(I), CUDie(D), Asm(A), DD(DW), IndexTyDie(0) {
CompileUnit::CompileUnit(unsigned I, unsigned L, DIE *D, AsmPrinter *A,
DwarfDebug *DW)
: ID(I), Language(L), CUDie(D), Asm(A), DD(DW), IndexTyDie(0) {
DIEIntegerOne = new (DIEValueAllocator) DIEInteger(1);
}