mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 06:07:34 +00:00
Use modern C++ attributes instead of __attribute__ voodoo.
This is quite nice, although I wish [[gnu::always_inline]] implied inline. Also "gnu::" is kind of a wart, but whatcha gonna do.
This commit is contained in:
parent
fbcc8ab840
commit
022f7790db
34 changed files with 99 additions and 124 deletions
|
@ -74,11 +74,11 @@ static void load_ksyms_from_data(const ByteBuffer& buffer)
|
|||
void dump_backtrace(bool use_ksyms)
|
||||
{
|
||||
if (!current) {
|
||||
HANG;
|
||||
hang();
|
||||
return;
|
||||
}
|
||||
if (use_ksyms && !ksyms_ready) {
|
||||
HANG;
|
||||
hang();
|
||||
return;
|
||||
}
|
||||
struct RecognizedSymbol {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue