mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-22 15:39:28 +00:00
Fix a fixme and make DICompileUnit a distinct node. Tested via clang.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@241097 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
eceef384d6
commit
c408bc8e39
@ -141,9 +141,7 @@ DICompileUnit *DIBuilder::createCompileUnit(
|
||||
TempGVs = MDTuple::getTemporary(VMContext, None);
|
||||
TempImportedModules = MDTuple::getTemporary(VMContext, None);
|
||||
|
||||
// TODO: Switch to getDistinct(). We never want to merge compile units based
|
||||
// on contents.
|
||||
DICompileUnit *CUNode = DICompileUnit::get(
|
||||
DICompileUnit *CUNode = DICompileUnit::getDistinct(
|
||||
VMContext, Lang, DIFile::get(VMContext, Filename, Directory), Producer,
|
||||
isOptimized, Flags, RunTimeVer, SplitName, Kind, TempEnumTypes.get(),
|
||||
TempRetainTypes.get(), TempSubprograms.get(), TempGVs.get(),
|
||||
|
Loading…
x
Reference in New Issue
Block a user