diff options
author | David Blaikie <dblaikie@gmail.com> | 2013-03-20 22:52:54 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2013-03-20 22:52:54 +0000 |
commit | 3b88852a2d166c04517d2676488f918a0c773503 (patch) | |
tree | 3a20e2cd783efc7448afb33d983de54d1189b023 /llvm/lib/IR | |
parent | e16dfcdb5bcb1d0e6ce2c585482ed457213bf1ea (diff) | |
download | bcm5719-llvm-3b88852a2d166c04517d2676488f918a0c773503.tar.gz bcm5719-llvm-3b88852a2d166c04517d2676488f918a0c773503.zip |
Debug Info: Swap the 2nd and 3rd parameters to DICompileUnit to match the common DIScope prefix
llvm-svn: 177595
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 8790fb62b25..09d2e070783 100644 --- a/llvm/lib/IR/DIBuilder.cpp +++ b/llvm/lib/IR/DIBuilder.cpp @@ -93,8 +93,8 @@ void DIBuilder::createCompileUnit(unsigned Lang, StringRef Filename, Value *Elts[] = { GetTagConstant(VMContext, dwarf::DW_TAG_compile_unit), - ConstantInt::get(Type::getInt32Ty(VMContext), Lang), createFile(Filename, Directory), + ConstantInt::get(Type::getInt32Ty(VMContext), Lang), MDString::get(VMContext, Producer), ConstantInt::get(Type::getInt1Ty(VMContext), isOptimized), MDString::get(VMContext, Flags), |