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.
noreturn
1 parent 1851df3 commit 4e16736Copy full SHA for 4e16736
tools/objtool/check.c
@@ -230,7 +230,8 @@ static bool is_rust_noreturn(const struct symbol *func)
230
str_ends_with(func->name, "_7___rustc17rust_begin_unwind") ||
231
strstr(func->name, "_4core9panicking13assert_failed") ||
232
strstr(func->name, "_4core9panicking11panic_const24panic_const_") ||
233
- (strstr(func->name, "_4core5slice5index24slice_") &&
+ (strstr(func->name, "_4core5slice5index") &&
234
+ strstr(func->name, "slice_") &&
235
str_ends_with(func->name, "_fail"));
236
}
237
0 commit comments