diff options
author | David Blaikie <dblaikie@gmail.com> | 2013-03-22 05:47:44 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2013-03-22 05:47:44 +0000 |
commit | f333dc95713e1603ebea3dd8e9288d14d892cbbe (patch) | |
tree | 30d5e064de74eacdd72471c2f78eeb8cdba77d35 /llvm/lib/IR | |
parent | d0059ff6eb45eb412a827234533527521bc7cb75 (diff) | |
download | bcm5719-llvm-f333dc95713e1603ebea3dd8e9288d14d892cbbe.tar.gz bcm5719-llvm-f333dc95713e1603ebea3dd8e9288d14d892cbbe.zip |
Reorder the DIFile field in DILexicalBlock to become a prefix common with other DIScopes
llvm-svn: 177703
Diffstat (limited to 'llvm/lib/IR')
-rw-r--r-- | llvm/lib/IR/DIBuilder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/IR/DIBuilder.cpp b/llvm/lib/IR/DIBuilder.cpp index de01781d29b..a97b740d264 100644 --- a/llvm/lib/IR/DIBuilder.cpp +++ b/llvm/lib/IR/DIBuilder.cpp @@ -1023,10 +1023,10 @@ DILexicalBlock DIBuilder::createLexicalBlock(DIDescriptor Scope, DIFile File, static unsigned int unique_id = 0; Value *Elts[] = { GetTagConstant(VMContext, dwarf::DW_TAG_lexical_block), + File, getNonCompileUnitScope(Scope), ConstantInt::get(Type::getInt32Ty(VMContext), Line), ConstantInt::get(Type::getInt32Ty(VMContext), Col), - File, ConstantInt::get(Type::getInt32Ty(VMContext), unique_id++) }; DILexicalBlock R(MDNode::get(VMContext, Elts)); |