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 | 162c800384353b639aa5bc94242e6307dcfae2d3 (patch) | |
tree | cb388dc2125d212b94b8ff6a1c6c3b80d3a0e1ed /lib/IR | |
parent | dcb4d349b683d9b52b084c94c9941020ebef4bc2 (diff) | |
download | external_llvm-162c800384353b639aa5bc94242e6307dcfae2d3.zip external_llvm-162c800384353b639aa5bc94242e6307dcfae2d3.tar.gz external_llvm-162c800384353b639aa5bc94242e6307dcfae2d3.tar.bz2 |
Debug Info: Swap the 2nd and 3rd parameters to DICompileUnit to match the common DIScope prefix
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177595 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/IR')
-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 8790fb6..09d2e07 100644 --- a/lib/IR/DIBuilder.cpp +++ b/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), |