mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-05 13:26:55 +00:00
Remove the unused 4th operand for DIFile debug info metadata
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@176983 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -121,7 +121,6 @@ DIFile DIBuilder::createFile(StringRef Filename, StringRef Directory) {
|
||||
GetTagConstant(VMContext, dwarf::DW_TAG_file_type),
|
||||
MDString::get(VMContext, Filename),
|
||||
MDString::get(VMContext, Directory),
|
||||
NULL // TheCU
|
||||
};
|
||||
return DIFile(MDNode::get(VMContext, Elts));
|
||||
}
|
||||
|
@@ -531,7 +531,7 @@ bool DINameSpace::Verify() const {
|
||||
|
||||
/// \brief Verify that the file descriptor is well formed.
|
||||
bool DIFile::Verify() const {
|
||||
return isFile() && DbgNode->getNumOperands() == 4;
|
||||
return isFile() && DbgNode->getNumOperands() == 3;
|
||||
}
|
||||
|
||||
/// \brief Verify that the enumerator descriptor is well formed.
|
||||
|
Reference in New Issue
Block a user