mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-17 04:24:00 +00:00
DebugInfo: Type Units: Propagate the correct DW_AT_language into type units.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@196130 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -989,7 +989,7 @@ DIE *CompileUnit::getOrCreateTypeDIE(const MDNode *TyNode) {
|
||||
else if (Ty.isCompositeType()) {
|
||||
DICompositeType CTy(Ty);
|
||||
if (shouldCreateTypeUnit(CTy, DD)) {
|
||||
DD->addTypeUnitType(TyDIE, CTy);
|
||||
DD->addTypeUnitType(getLanguage(), TyDIE, CTy);
|
||||
// Skip updating the accellerator tables since this is not the full type
|
||||
return TyDIE;
|
||||
}
|
||||
|
Reference in New Issue
Block a user