Update for LLVM API change

llvm-svn: 339941
This commit is contained in:
David Blaikie 2018-08-16 21:30:24 +00:00
parent c73c0307fe
commit 19763d93fd
1 changed files with 2 additions and 1 deletions

View File

@ -579,7 +579,8 @@ void CGDebugInfo::CreateCompileUnit() {
CGOpts.DwarfDebugFlags, RuntimeVers,
CGOpts.EnableSplitDwarf ? "" : CGOpts.SplitDwarfFile, EmissionKind,
0 /* DWOid */, CGOpts.SplitDwarfInlining, CGOpts.DebugInfoForProfiling,
CGOpts.GnuPubnames);
CGOpts.GnuPubnames ? llvm::DICompileUnit::DebugNameTableKind::GNU
: llvm::DICompileUnit::DebugNameTableKind::Default);
}
llvm::DIType *CGDebugInfo::CreateType(const BuiltinType *BT) {