Implement backtracing tool as a component - #328
Draft
0aids wants to merge 27 commits into
Draft
Conversation
midnightveil
requested changes
Jun 17, 2026
midnightveil
left a comment
Contributor
There was a problem hiding this comment.
Some initial comments
Comment on lines
+7
to
+14
| /* | ||
| * The Microkit Monitor. | ||
| * | ||
| * The monitor is the highest priority Protection Domain | ||
| * exclusively in a Microkit system. It fulfills one purpose: | ||
| * | ||
| * Acting as the fault handler for protection domains. | ||
| */ |
Contributor
There was a problem hiding this comment.
We should remove most of this file and only keep the relevant parts.
cmake -B build -S . -DCMAKE_SYSTEM_NAME=Generic -DCMAKE_C_COMPILER_TARGET=aarch64-none-elf -DCMAKE_CXX_COMPILER_TARGET=aarch64-none-elf -DCMAKE_C_COMPILER_WORKS=ON -DCMAKE_CXX_COMPILER_WORKS=ON -DLIBUNWIND_IS_BAREMETAL=ON -DLIBUNWIND_ENABLE_SHARED=OFF -DLIBUNWIND_ENABLE_THREADS=OFF -DLIBUNWIND_USE_COMPILER_RT=ON -DLIBUNWIND_ENABLE_PEDANTIC=OFF -DLIBUNWIND_ENABLE_ASSERTIONS=OFF -DCMAKE_BUILD_TYPE=Debug -DLIBUNWIND_ENABLE_STATIC=ON -DCMAKE_ASM_COMPILER="$CC" -DCMAKE_ASM_COMPILER_WORKS=ON -DCMAKE_CXX_FLAGS="-fno-exceptions" Signed-off-by: 0aids <aidanlldanu@gmail.com>
Signed-off-by: 0aids <aidanlldanu@gmail.com>
Signed-off-by: 0aids <aidanlldanu@gmail.com>
Signed-off-by: 0aids <aidanlldanu@gmail.com>
Signed-off-by: 0aids <aidanlldanu@gmail.com>
Signed-off-by: 0aids <aidanlldanu@gmail.com>
Signed-off-by: 0aids <aidanlldanu@gmail.com>
Signed-off-by: 0aids <aidanlldanu@gmail.com>
Signed-off-by: 0aids <aidanlldanu@gmail.com>
Signed-off-by: 0aids <aidanlldanu@gmail.com>
Signed-off-by: 0aids <aidanlldanu@gmail.com>
Signed-off-by: 0aids <aidanlldanu@gmail.com>
Signed-off-by: 0aids <aidanlldanu@gmail.com>
…ion in mk Signed-off-by: 0aids <aidanlldanu@gmail.com>
Signed-off-by: 0aids <aidanlldanu@gmail.com>
Signed-off-by: 0aids <aidanlldanu@gmail.com>
Having llvm-project as a submodule was causing problems with shallow cloning. Signed-off-by: 0aids <aidanlldanu@gmail.com>
Signed-off-by: 0aids <aidanlldanu@gmail.com>
Signed-off-by: 0aids <aidanlldanu@gmail.com>
Signed-off-by: 0aids <aidanlldanu@gmail.com>
Signed-off-by: 0aids <aidanlldanu@gmail.com>
Signed-off-by: 0aids <aidanlldanu@gmail.com>
Signed-off-by: 0aids <aidanlldanu@gmail.com>
Signed-off-by: 0aids <aidanlldanu@gmail.com>
Signed-off-by: 0aids <aidanlldanu@gmail.com>
Signed-off-by: 0aids <aidanlldanu@gmail.com>
Contributor
Author
|
should be cleaned up now. lmk if i've forgotten anything |
Contributor
|
You missed a few, especially around the monitor.h. There's still unresolved comments. (If you've fixed something, mark the comment as resolved, and then if we have things unresolved then it's easier to see) |
Signed-off-by: 0aids <aidanlldanu@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implemented a backtracing tool. Requires llvm's version of libunwind for unwinding, and sddf_printf for printing the backtrace (will probably change later).