updated local branch to incorporate latest changes

This commit is contained in:
YASHASVI KHATAVKAR 2022-02-02 15:31:49 -05:00
parent 0e7341b7b1
commit e4f9d4a5ee
2 changed files with 4 additions and 4 deletions

View File

@ -235,8 +235,8 @@ namespace llvm {
/// \param StringLengthExp String length expressed in DIExpression form.
/// \param StrLocationExp Optional memory location of the string.
DIStringType *createStringType(StringRef Name,
DIExpression *StringLengthExp,
DIExpression *StrLocationExp = nullptr);
DIExpression *StringLengthExp,
DIExpression *StrLocationExp = nullptr);
/// Create debugging information entry for a qualified
/// type, e.g. 'const int'.

View File

@ -302,8 +302,8 @@ DIStringType *DIBuilder::createStringType(StringRef Name,
}
DIStringType *DIBuilder::createStringType(StringRef Name,
DIExpression *StringLengthExp,
DIExpression *StrLocationExp) {
DIExpression *StringLengthExp,
DIExpression *StrLocationExp) {
assert(!Name.empty() && "Unable to create type without name");
return DIStringType::get(VMContext, dwarf::DW_TAG_string_type, Name, nullptr,
StringLengthExp, StrLocationExp, 0, 0, 0);