diff options
author | David Blaikie <dblaikie@gmail.com> | 2013-03-22 17:33:20 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2013-03-22 17:33:20 +0000 |
commit | 4b52a88e90b341ff2a3d1dbad6eb5ea731228156 (patch) | |
tree | 91feee1ed09f514e3a7f6583ca72f2f28086f250 /lib/IR/DIBuilder.cpp | |
parent | be67aa52a8fca4ea33dd59512d8bea9e2a45be2e (diff) | |
download | external_llvm-4b52a88e90b341ff2a3d1dbad6eb5ea731228156.zip external_llvm-4b52a88e90b341ff2a3d1dbad6eb5ea731228156.tar.gz external_llvm-4b52a88e90b341ff2a3d1dbad6eb5ea731228156.tar.bz2 |
Refactor out the DIFile parameter to DILexicalBlock to refer to the raw file/directory pair
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177742 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 a97b740..fe2176c 100644 --- a/lib/IR/DIBuilder.cpp +++ b/lib/IR/DIBuilder.cpp @@ -1023,7 +1023,7 @@ DILexicalBlock DIBuilder::createLexicalBlock(DIDescriptor Scope, DIFile File, static unsigned int unique_id = 0; Value *Elts[] = { GetTagConstant(VMContext, dwarf::DW_TAG_lexical_block), - File, + File.getFileNode(), getNonCompileUnitScope(Scope), ConstantInt::get(Type::getInt32Ty(VMContext), Line), ConstantInt::get(Type::getInt32Ty(VMContext), Col), |