From e4f9d4a5eee3aa69cc4a06f35ffb5d67b2ae543e Mon Sep 17 00:00:00 2001 From: YASHASVI KHATAVKAR Date: Wed, 2 Feb 2022 15:31:49 -0500 Subject: [PATCH] updated local branch to incorporate latest changes --- llvm/include/llvm/IR/DIBuilder.h | 4 ++-- llvm/lib/IR/DIBuilder.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/llvm/include/llvm/IR/DIBuilder.h b/llvm/include/llvm/IR/DIBuilder.h index a5e0f55..c635659 100644 --- a/llvm/include/llvm/IR/DIBuilder.h +++ b/llvm/include/llvm/IR/DIBuilder.h @@ -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'. diff --git a/llvm/lib/IR/DIBuilder.cpp b/llvm/lib/IR/DIBuilder.cpp index ea67791..16f7072 100644 --- a/llvm/lib/IR/DIBuilder.cpp +++ b/llvm/lib/IR/DIBuilder.cpp @@ -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); -- 2.7.4