diff options
author | David Blaikie <dblaikie@gmail.com> | 2018-08-16 21:30:24 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2018-08-16 21:30:24 +0000 |
commit | 19763d93fdbe678485ff97fc43ac7472a7cdf807 (patch) | |
tree | 5020f361e6641ec5c52151d6d6a53ad677f2ee3c /clang/lib/CodeGen/CGDebugInfo.cpp | |
parent | c73c0307fe71a4f1a98d99dbc5d7852d44c30fff (diff) | |
download | bcm5719-llvm-19763d93fdbe678485ff97fc43ac7472a7cdf807.tar.gz bcm5719-llvm-19763d93fdbe678485ff97fc43ac7472a7cdf807.zip |
Update for LLVM API change
llvm-svn: 339941
Diffstat (limited to 'clang/lib/CodeGen/CGDebugInfo.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGDebugInfo.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGDebugInfo.cpp b/clang/lib/CodeGen/CGDebugInfo.cpp index 1265bba7643..e6136d51573 100644 --- a/clang/lib/CodeGen/CGDebugInfo.cpp +++ b/clang/lib/CodeGen/CGDebugInfo.cpp @@ -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) { |