Skip to content

Commit

Permalink
Fix ubsan output (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
1vnt authored Apr 15, 2023
1 parent aabcc1d commit 440588f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions firefly/kernel/trace/sanitizer/ubsan.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ static void tu_print_location(const char *message, struct tu_source_location loc
using namespace firefly;
logLine << "tinyubsan: " << message
<< " at file " << loc.file
<< ", line " << fmt::dec << loc.file
<< ", line " << fmt::dec << loc.line
<< ", column " << loc.column << '\n'
<< fmt::endl;
}
Expand Down Expand Up @@ -167,4 +167,4 @@ void __ubsan_handle_builtin_unreachable(struct tu_unreachable_data *data) {
void __ubsan_handle_invalid_builtin(struct tu_invalid_builtin_data *data) {
tu_print_location("invalid builtin", data->location);
}
}
}

0 comments on commit 440588f

Please sign in to comment.