We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d70ffb commit c7201fdCopy full SHA for c7201fd
lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/RenderScriptx86ABIFixups.cpp
@@ -240,9 +240,9 @@ bool fixupRSAllocationStructByValCalls(llvm::Module &module) {
240
for (unsigned I = call_attribs.index_begin(); I != call_attribs.index_end();
241
I++) {
242
// if this argument is passed by val
243
- if (call_attribs.hasAttribute(I, llvm::Attribute::ByVal)) {
+ if (call_attribs.hasAttributeAtIndex(I, llvm::Attribute::ByVal)) {
244
// strip away the byval attribute
245
- call_inst->removeAttribute(I, llvm::Attribute::ByVal);
+ call_inst->removeAttributeAtIndex(I, llvm::Attribute::ByVal);
246
changed = true;
247
}
248
0 commit comments