diff options
author | Adrian Prantl <aprantl@apple.com> | 2016-11-03 19:42:02 +0000 |
---|---|---|
committer | Adrian Prantl <aprantl@apple.com> | 2016-11-03 19:42:02 +0000 |
commit | 60a7c431c0b224bea13ab0b0785ccecccd327e29 (patch) | |
tree | 1ce4710ad458edf7a3b657158a367bcca95753b3 /lib/IR/DIBuilder.cpp | |
parent | 2d1f4f5e9e9f7d7e2ba096323f03dacbdf67ebba (diff) |
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>
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@285959 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/IR/DIBuilder.cpp')
-rw-r--r-- | lib/IR/DIBuilder.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/IR/DIBuilder.cpp b/lib/IR/DIBuilder.cpp index 741a3a27f13..aa67da2a3e0 100644 --- a/lib/IR/DIBuilder.cpp +++ b/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, |