summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/DIBuilder.cpp
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2016-11-03 19:42:02 +0000
committerAdrian Prantl <aprantl@apple.com>2016-11-03 19:42:02 +0000
commitdbfda63695272c2d12a6a61b18b52d3961d8e1a8 (patch)
tree84e60fd946f3806394c80e3b796986b6a5bf6f13 /llvm/lib/IR/DIBuilder.cpp
parent8a569174928c79af07459fb92751b36624baedde (diff)
downloadbcm5719-llvm-dbfda63695272c2d12a6a61b18b52d3961d8e1a8.tar.gz
bcm5719-llvm-dbfda63695272c2d12a6a61b18b52d3961d8e1a8.zip
Add DWARF debug info support for C++11 inline namespaces.
This implements the DWARF 5 DW_AT_export_symbols feature: http://dwarfstd.org/ShowIssue.php?issue=141212.1 <rdar://problem/18616046> llvm-svn: 285959
Diffstat (limited to 'llvm/lib/IR/DIBuilder.cpp')
-rw-r--r--llvm/lib/IR/DIBuilder.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/lib/IR/DIBuilder.cpp b/llvm/lib/IR/DIBuilder.cpp
index 741a3a27f13..aa67da2a3e0 100644
--- a/llvm/lib/IR/DIBuilder.cpp
+++ b/llvm/lib/IR/DIBuilder.cpp
@@ -685,9 +685,10 @@ DISubprogram *DIBuilder::createMethod(DIScope *Context, StringRef Name,
}
DINamespace *DIBuilder::createNameSpace(DIScope *Scope, StringRef Name,
- DIFile *File, unsigned LineNo) {
+ DIFile *File, unsigned LineNo,
+ bool ExportSymbols) {
return DINamespace::get(VMContext, getNonCompileUnitScope(Scope), File, Name,
- LineNo);
+ LineNo, ExportSymbols);
}
DIModule *DIBuilder::createModule(DIScope *Scope, StringRef Name,
OpenPOWER on IntegriCloud