mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
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
This commit is contained in:
@@ -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),
|
||||
|
Reference in New Issue
Block a user