[bootlin/training-materials updates] master: debugging: labs: properly give path of file to observe in compiler explorer (2d8f84c2)
Alexis Lothoré
alexis.lothore at bootlin.com
Thu Aug 3 15:19:52 CEST 2023
Repository : https://github.com/bootlin/training-materials
On branch : master
Link : https://github.com/bootlin/training-materials/commit/2d8f84c2174b2519c3b5c32fc4233f686b675535
>---------------------------------------------------------------
commit 2d8f84c2174b2519c3b5c32fc4233f686b675535
Author: Alexis Lothoré <alexis.lothore at bootlin.com>
Date: Thu Aug 3 15:19:52 2023 +0200
debugging: labs: properly give path of file to observe in compiler explorer
Signed-off-by: Alexis Lothoré <alexis.lothore at bootlin.com>
>---------------------------------------------------------------
2d8f84c2174b2519c3b5c32fc4233f686b675535
labs/debugging-application-crash/debugging-application-crash.tex | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/labs/debugging-application-crash/debugging-application-crash.tex b/labs/debugging-application-crash/debugging-application-crash.tex
index 250e3bfe..297ca33e 100644
--- a/labs/debugging-application-crash/debugging-application-crash.tex
+++ b/labs/debugging-application-crash/debugging-application-crash.tex
@@ -12,7 +12,8 @@
\section{Compiler explorer}
-Go to \url{https://godbolt.org/} and paste the content of \code{swap_bytes.c}.
+Go to \url{https://godbolt.org/} and paste the content of
+\code{/home/$USER/debugging-labs/nfsroot/root/compiler_explorer/swap_bytes.c}.
Select the correct compiler for armv7 and observe the generated assembly. Try
to modify the compiler options to optimize the generation (-O3). Observe the
result.
More information about the training-materials-updates
mailing list