forked from OSchip/llvm-project
updated local branch to incorporate latest changes
This commit is contained in:
parent
0e7341b7b1
commit
e4f9d4a5ee
|
@ -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'.
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue