Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions src/native/nativeaot/host/internal-pinvoke-stubs.cc
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,14 @@ using namespace xamarin::android;

namespace {
[[gnu::noreturn]]
void pinvoke_unreachable ()
void pinvoke_unreachable (std::source_location sloc = std::source_location::current ())
{
Helpers::abort_application (LOG_DEFAULT, "The method is not implemented. This is a stub and should not be called."sv);
Helpers::abort_application (
LOG_DEFAULT,
"The p/invoke is not implemented. This is a stub and should not be called."sv,
true, // log_location
sloc
);
}
}

Expand Down
Loading