mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-15 19:24:33 +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:
@@ -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(),
|
||||
|
Reference in New Issue
Block a user