diff options
| author | Jacob Young <jacobly0@users.noreply.github.com> | 2024-02-18 10:14:39 +0100 |
|---|---|---|
| committer | Jacob Young <jacobly0@users.noreply.github.com> | 2024-02-18 14:11:06 +0100 |
| commit | 247e4ac3cc18a1a29bc180873b7b9f946f515212 (patch) | |
| tree | f4b479b4deb3ad2b3c0440f936107adffa81b80c /src/codegen | |
| parent | 57b2b3df520cd8c243cb974636880c9f5ca3f117 (diff) | |
| download | zig-247e4ac3cc18a1a29bc180873b7b9f946f515212.tar.gz zig-247e4ac3cc18a1a29bc180873b7b9f946f515212.zip | |
dwarf: optimize dwarf parsing for speed
This code is run when printing a stack trace in a debug executable, so
it has to be fast even without compiler optimizations.
Adding a `@panic` to the top of `main` and running an x86_64 backend
compiled compiler goes from `1m32.773s` to `0m3.232s`.
Diffstat (limited to 'src/codegen')
0 files changed, 0 insertions, 0 deletions
