mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 05:15:07 +00:00
Meta: Remove unused debug flags, add missing GENERATE_DEBUG
Commands that were helpful while investigating this: ``` grep -P '^set' Meta/CMake/all_the_debug_macros.cmake \ | sed -Ee 's,set\((.+) ON\)$,\1,' > macros.lst for i in $(cat macros.lst); do echo -n "$i "; git grep -Pn '\b'"$i"'\b' | wc -l done | tee matches.lst sort -k2 -n matches.lst ```
This commit is contained in:
parent
c56481e73f
commit
173f872cda
4 changed files with 15 additions and 106 deletions
|
@ -51,10 +51,6 @@
|
|||
#cmakedefine01 CONTEXT_SWITCH_DEBUG
|
||||
#endif
|
||||
|
||||
#ifndef CONTIGUOUS_VMOBJECT_DEBUG
|
||||
#cmakedefine01 CONTIGUOUS_VMOBJECT_DEBUG
|
||||
#endif
|
||||
|
||||
#ifndef DUMP_REGIONS_ON_CRASH
|
||||
#cmakedefine01 DUMP_REGIONS_ON_CRASH
|
||||
#endif
|
||||
|
@ -63,18 +59,10 @@
|
|||
#cmakedefine01 E1000_DEBUG
|
||||
#endif
|
||||
|
||||
#ifndef E1000E_DEBUG
|
||||
#cmakedefine01 E1000E_DEBUG
|
||||
#endif
|
||||
|
||||
#ifndef ETHERNET_DEBUG
|
||||
#cmakedefine01 ETHERNET_DEBUG
|
||||
#endif
|
||||
|
||||
#ifndef ETHERNET_VERY_DEBUG
|
||||
#cmakedefine01 ETHERNET_VERY_DEBUG
|
||||
#endif
|
||||
|
||||
#ifndef EXEC_DEBUG
|
||||
#cmakedefine01 EXEC_DEBUG
|
||||
#endif
|
||||
|
@ -95,14 +83,6 @@
|
|||
#cmakedefine01 FAT_DEBUG
|
||||
#endif
|
||||
|
||||
#ifndef FRAMEBUFFER_DEVICE_DEBUG
|
||||
#cmakedefine01 FRAMEBUFFER_DEVICE_DEBUG
|
||||
#endif
|
||||
|
||||
#ifndef FILEDESCRIPTION_DEBUG
|
||||
#cmakedefine01 FILEDESCRIPTION_DEBUG
|
||||
#endif
|
||||
|
||||
#ifndef FORK_DEBUG
|
||||
#cmakedefine01 FORK_DEBUG
|
||||
#endif
|
||||
|
@ -275,10 +255,6 @@
|
|||
#cmakedefine01 RTL8168_DEBUG
|
||||
#endif
|
||||
|
||||
#ifndef SB16_DEBUG
|
||||
#cmakedefine01 SB16_DEBUG
|
||||
#endif
|
||||
|
||||
#ifndef SCHEDULER_DEBUG
|
||||
#cmakedefine01 SCHEDULER_DEBUG
|
||||
#endif
|
||||
|
@ -351,10 +327,6 @@
|
|||
#cmakedefine01 VMWARE_BACKDOOR_DEBUG
|
||||
#endif
|
||||
|
||||
#ifndef VOLATILE_PAGE_RANGES_DEBUG
|
||||
#cmakedefine01 VOLATILE_PAGE_RANGES_DEBUG
|
||||
#endif
|
||||
|
||||
#ifndef VIRTIO_DEBUG
|
||||
#cmakedefine01 VIRTIO_DEBUG
|
||||
#endif
|
||||
|
@ -363,10 +335,6 @@
|
|||
#cmakedefine01 VIRTUAL_CONSOLE_DEBUG
|
||||
#endif
|
||||
|
||||
#ifndef VRA_DEBUG
|
||||
#cmakedefine01 VRA_DEBUG
|
||||
#endif
|
||||
|
||||
#ifndef WAITBLOCK_DEBUG
|
||||
#cmakedefine01 WAITBLOCK_DEBUG
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue