diff options
author | David Blaikie <dblaikie@gmail.com> | 2013-03-22 20:18:46 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2013-03-22 20:18:46 +0000 |
commit | 8faed2745c849fb35f6edf411263dfa564ef3643 (patch) | |
tree | fa73330d6b5dab14543dedcefabe3a4c7f4633b8 /lib/IR/DIBuilder.cpp | |
parent | 7b246860bdf4c6b3ea4e09f6437537941cc0d1d4 (diff) | |
download | external_llvm-8faed2745c849fb35f6edf411263dfa564ef3643.zip external_llvm-8faed2745c849fb35f6edf411263dfa564ef3643.tar.gz external_llvm-8faed2745c849fb35f6edf411263dfa564ef3643.tar.bz2 |
Swap the DIFile in DILexicalBlockFile out for the raw name/directory pair
This is the last change in transitioning all DIScopes to have a common prefix.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177756 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/IR/DIBuilder.cpp')
-rw-r--r-- | lib/IR/DIBuilder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/IR/DIBuilder.cpp b/lib/IR/DIBuilder.cpp index 5602457..033af3b 100644 --- a/lib/IR/DIBuilder.cpp +++ b/lib/IR/DIBuilder.cpp @@ -1007,7 +1007,7 @@ DILexicalBlockFile DIBuilder::createLexicalBlockFile(DIDescriptor Scope, DIFile File) { Value *Elts[] = { GetTagConstant(VMContext, dwarf::DW_TAG_lexical_block), - File, + File.getFileNode(), Scope }; DILexicalBlockFile R(MDNode::get(VMContext, Elts)); |