Skip to content

Commit c7201fd

Browse files
aeubanksmemfrob
authored andcommitted
Fix lldb after D108614
1 parent 1d70ffb commit c7201fd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptx86ABIFixups.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,9 +240,9 @@ bool fixupRSAllocationStructByValCalls(llvm::Module &module) {
240240
for (unsigned I = call_attribs.index_begin(); I != call_attribs.index_end();
241241
I++) {
242242
// if this argument is passed by val
243-
if (call_attribs.hasAttribute(I, llvm::Attribute::ByVal)) {
243+
if (call_attribs.hasAttributeAtIndex(I, llvm::Attribute::ByVal)) {
244244
// strip away the byval attribute
245-
call_inst->removeAttribute(I, llvm::Attribute::ByVal);
245+
call_inst->removeAttributeAtIndex(I, llvm::Attribute::ByVal);
246246
changed = true;
247247
}
248248
}

0 commit comments

Comments
 (0)