mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-21 23:17:16 +00:00
Fix PR12942: Allow two CUs to be generated from the same source file.
Thanks Eric for the review. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169142 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -32,9 +32,9 @@
|
||||
using namespace llvm;
|
||||
|
||||
/// CompileUnit - Compile unit constructor.
|
||||
CompileUnit::CompileUnit(unsigned I, unsigned L, DIE *D, AsmPrinter *A,
|
||||
CompileUnit::CompileUnit(unsigned UID, unsigned L, DIE *D, AsmPrinter *A,
|
||||
DwarfDebug *DW)
|
||||
: ID(I), Language(L), CUDie(D), Asm(A), DD(DW), IndexTyDie(0) {
|
||||
: UniqueID(UID), Language(L), CUDie(D), Asm(A), DD(DW), IndexTyDie(0) {
|
||||
DIEIntegerOne = new (DIEValueAllocator) DIEInteger(1);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user