From 352e83b2314b5eb1c0c7f978fcea7ca5274f4721 Mon Sep 17 00:00:00 2001 From: Brodie Robertson <30792656+BrodieRobertson@users.noreply.github.com> Date: Thu, 1 Feb 2024 22:47:33 +1030 Subject: [PATCH] Clean up confusing wording in ASan documentation (#453) --- pages/Crashes and Bugs/_index.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pages/Crashes and Bugs/_index.md b/pages/Crashes and Bugs/_index.md index 1f6d8418..6894f64a 100644 --- a/pages/Crashes and Bugs/_index.md +++ b/pages/Crashes and Bugs/_index.md @@ -53,7 +53,7 @@ recommended to do in tty clone wayland (`git clone --recursive https://gitlab.freedesktop.org/wayland/wayland`) clone hyprland (`git clone --recursive https://github.com/hyprwm/Hyprland`) -add these envs to reset ASAN_OPTIONS for children and set LD_PRELOAD: +add these envs to your Hyprland config to reset ASAN_OPTIONS for children and set LD_PRELOAD: ``` env = ASAN_OPTIONS,detect_odr_violation=0 env = LD_PRELOAD,/usr/lib/libasan.so.8.0.0 @@ -66,6 +66,9 @@ meson ./build --prefix=/usr --buildtype=debug -Db_sanitize=address sudo ninja -C build install ``` +The Wayland build will likely fail citing missing dependencies such as Doxygen, these +dependencies will likely be available from your distros package manager. + hyprland: ``` cmake --no-warn-unused-cli -DCMAKE_BUILD_TYPE:STRING=Debug -DWITH_ASAN:STRING=True -S . -B ./build -G Ninja