diff options
author | Alon Zakai <azakai@google.com> | 2020-09-22 08:44:31 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-22 08:44:31 -0700 |
commit | b410773b502abfcd8cc225fe4cd36d84108c0aeb (patch) | |
tree | f7758cd6a16ea3821d40f4bd3dedfed2469c725a /src/emscripten-optimizer/optimizer.h | |
parent | 4b3c35b34c62dc619b1c706e5562e90c089f2419 (diff) | |
download | binaryen-b410773b502abfcd8cc225fe4cd36d84108c0aeb.tar.gz binaryen-b410773b502abfcd8cc225fe4cd36d84108c0aeb.tar.bz2 binaryen-b410773b502abfcd8cc225fe4cd36d84108c0aeb.zip |
DWARF: Fix abbreviation lookups, they are relative to 1 (#3158)
Apparently I misunderstood the DWARF spec on this. Abbreviation offsets are all
relative to 1 (as 0 is not a valid number). For some reason I thought the first DIE's
index was the "base", as in practice LLVM always emits the lowest index there,
and that's what the LLVM YAML code suggested to me.
Diffstat (limited to 'src/emscripten-optimizer/optimizer.h')
0 files changed, 0 insertions, 0 deletions