ladybird/Userland/DevTools/UserspaceEmulator
MacDue 9a120d7243 AK: Add support for "debug only" formatters
These are formatters that can only be used with debug print
functions, such as dbgln(). Currently this is limited to
Formatter<ErrorOr<T>>. With this you can still debug log ErrorOr
values (good for debugging), but trying to use them in any
String::formatted() call will fail (which prevents .to_string()
errors with the new failable strings being ignored).

You make a formatter debug only by adding a constexpr method like:
static constexpr bool is_debug_only() { return true; }
2023-01-13 21:09:26 +00:00
..
CMakeLists.txt Everywhere: Mark dependencies of most targets as PRIVATE 2022-11-01 14:49:09 +00:00
Emulator.cpp Everywhere: Move AK/Debug.h include to using files or remove 2023-01-02 20:27:20 -05:00
Emulator.h Kernel: Reintroduce the msyscall syscall as the annotate_mapping syscall 2022-12-16 01:02:00 -07:00
Emulator_syscalls.cpp Kernel: Reintroduce the msyscall syscall as the annotate_mapping syscall 2022-12-16 01:02:00 -07:00
EmulatorControl.h UserspaceEmulator+LibC: Add support for Region-of-Interest profiling 2021-08-10 05:13:44 +04:30
main.cpp Everywhere: Rename to_{string => deprecated_string}() where applicable 2022-12-06 08:54:33 +01:00
MallocTracer.cpp Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
MallocTracer.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
MmapRegion.cpp AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
MmapRegion.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
Range.cpp Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
Range.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
RangeAllocator.cpp Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
RangeAllocator.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
Region.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Region.h Everywhere: Run clang-format 2022-04-01 21:24:45 +01:00
Report.h AK: Add support for "debug only" formatters 2023-01-13 21:09:26 +00:00
SimpleRegion.cpp UserspaceEmulator: Make it possible to wrap PODs in ValueWithShadow 2022-03-04 20:07:05 +01:00
SimpleRegion.h UE+LibX86: Support bigger reads and writes 2021-04-23 22:50:53 +02:00
SoftCPU.cpp UserspaceEmulator: Implement MOV_RM16_seg 2022-12-07 13:18:48 +01:00
SoftCPU.h Everywhere: Fix badly-formatted includes 2023-01-02 11:06:15 -05:00
SoftFPU.cpp AK+Everywhere: Add AK_COMPILER_{GCC,CLANG} and use them most places 2022-10-04 23:35:07 +01:00
SoftFPU.h AK+Everywhere: Rename String to DeprecatedString 2022-12-06 08:54:33 +01:00
SoftMMU.cpp Everywhere: Add sv suffix to strings relying on StringView(char const*) 2022-07-12 23:11:35 +02:00
SoftMMU.h Everywhere: Run clang-format 2022-12-03 23:52:23 +00:00
SoftVPU.cpp Everywhere: Fix a variety of typos 2022-09-14 04:46:49 +00:00
SoftVPU.h UserspaceEmulator: Delegate rounding to the actual hardware 2022-05-07 20:27:05 +02:00
ValueWithShadow.h Everywhere: Run clang-format 2022-12-03 23:52:23 +00:00