projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c73c030
)
Update for LLVM API change
author
David Blaikie
<dblaikie@gmail.com>
Thu, 16 Aug 2018 21:30:24 +0000
(21:30 +0000)
committer
David Blaikie
<dblaikie@gmail.com>
Thu, 16 Aug 2018 21:30:24 +0000
(21:30 +0000)
llvm-svn: 339941
clang/lib/CodeGen/CGDebugInfo.cpp
patch
|
blob
|
history
diff --git
a/clang/lib/CodeGen/CGDebugInfo.cpp
b/clang/lib/CodeGen/CGDebugInfo.cpp
index
1265bba
..
e6136d5
100644
(file)
--- 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) {