Skip to content

Commit

Permalink
Clean up confusing wording in ASan documentation (#453)
Browse files Browse the repository at this point in the history
  • Loading branch information
BrodieRobertson authored Feb 1, 2024
1 parent 2c3e472 commit 352e83b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pages/Crashes and Bugs/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 352e83b

Please sign in to comment.