https://github.com/artempyanykh/eurollvm25
Reference for my presentation at EuroLLVM 2025
https://github.com/artempyanykh/eurollvm25
asan llvm performance presentation sanitizers
Last synced: 6 months ago
JSON representation
Reference for my presentation at EuroLLVM 2025
- Host: GitHub
- URL: https://github.com/artempyanykh/eurollvm25
- Owner: artempyanykh
- License: mit
- Created: 2025-03-16T22:59:24.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-04-08T21:07:57.000Z (6 months ago)
- Last Synced: 2025-04-08T22:22:34.129Z (6 months ago)
- Topics: asan, llvm, performance, presentation, sanitizers
- Language: Makefile
- Homepage:
- Size: 949 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# EuroLLVM 2025 presentation
This is a support repository for my presentation at EuroLLVM 2025 (April) titled:
> Accidentally quadratic in compiler-rt/asan
The slides are [available here](./slides.pdf).
## Repro
1. Clone this repository with submodules:
```
git clone --recurse-submodules git@github.com:artempyanykh/eurollvm25.git
```2. Build the before and after executables (this will also build 2 versions of LLVM):
```
make before_patch after_patch
```3. Compare the runtime:
```
~/d/eurollvm25 > time ./before_patch
Hello EuroLLVM!________________________________________________________
Executed in 5.62 secs fish external
usr time 5.51 secs 19.00 micros 5.51 secs
sys time 0.04 secs 487.00 micros 0.04 secs~/d/eurollvm25 > time ./after_patch
Hello EuroLLVM!________________________________________________________
Executed in 96.12 millis fish external
usr time 46.96 millis 0.00 micros 46.96 millis
sys time 48.77 millis 543.00 micros 48.23 millis
```