summaryrefslogtreecommitdiff
path: root/Meta/check-debug-flags.sh
AgeCommit message (Collapse)Author
2022-03-27Kernel: Support all Intel-defined CPUID feature flags for EAX=1Linus Groh
We're now able to detect all the regular CPUID feature flags from ECX/EDX for EAX=1 :^) None of the new ones are being used for anything yet, but they will show up in /proc/cpuinfo and subsequently lscpu and SystemMonitor. Note that I replaced the periods from the SSE 4.1 and 4.2 instructions with underscores, which matches the internal enum names, Linux's /proc/cpuinfo and the general pattern of replacing special characters with underscores to limit feature names to [a-z0-9_]. The enum member stringification has been moved to a new function for better re-usability and to avoid cluttering up Processor.cpp.
2021-11-02Meta: Use grep -E/F, not grep -Pthislooksfun
grep -E and -F are POSIX standard, and meets all our matching needs.
2021-04-19Meta: Remove references to Userland/Libraries/LibELF/exec_elf.hBrendan Coles
2021-04-18LibC+LibELF: Implement support for the dl_iterate_phdr helperGunnar Beutner
This helper is used by libgcc_s to figure out where the .eh_frame sections are located for all loaded shared objects.
2021-02-13Meta: Fix debug-flag detectionBen Wiederhake
Detection broke when we moved from '#ifdef DEBUG_FOO dbgln()' to 'dbgln<DEBUG_FOO>()'. This patch makes detection more general, which sadly runs into more false-positives. No rotten code was found, hooray! :^)
2021-01-25Meta: Make check-debug-flags.sh work with the new changes.asynts
2021-01-22Meta: Get building on NixOS (#5005)Jonathan Turner
2021-01-12Libraries: Move to Userland/Libraries/Andreas Kling
2020-12-24CMake: Decouple cmake utility functions from top-level CMakeLists.txtLenny Maiorani
Problem: - These utility functions are only used in `AK`, but are being defined in the top-level. This clutters the top-level. Solution: - Move the utility functions to `Meta/CMake/utils.cmake` and include where needed. - Also, move `all_the_debug_macros.cmake` into `Meta/CMake` directory to consolidate the location of `*.cmake` script files.
2020-12-22CMake: Use built-in add_compile_definitions for *_DEBUG macrosLenny Maiorani
Problem: - Modifying CXXFLAGS directly is an old CMake style. - The giant and ever-growing list of `*_DEBUG` macros clutters the top-level CMakeLists.txt. Solution: - Use the more current `add_compile_definitions` function. - Sort all the debug options so that they are easy to view. - Move the `*_DEBUG` macros to their own file which can be included directly.
2020-12-01Meta: Always check completeness of ALL_THE_DEBUG_MACROSBen Wiederhake