about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/Linker.cpp
diff options
context:
space:
mode:
authorPatrick Walton <pcwalton@fb.com>2022-06-20 16:26:51 -0700
committerPatrick Walton <pcwalton@fb.com>2022-07-08 11:31:08 -0700
commit1e0ad0c1d4fdca7a37221e05fd5e39739d9084f5 (patch)
tree14b27ca538f026f36bd50438734954f68071b2c2 /compiler/rustc_llvm/llvm-wrapper/Linker.cpp
parent45263fc66d253f762b3880764ae48611a25bf887 (diff)
downloadrust-1e0ad0c1d4fdca7a37221e05fd5e39739d9084f5.tar.gz
rust-1e0ad0c1d4fdca7a37221e05fd5e39739d9084f5.zip
Implement support for DWARF version 5.
DWARF version 5 brings a number of improvements over version 4. Quoting from
the announcement [1]:

> Version 5 incorporates improvements in many areas: better data compression,
> separation of debugging data from executable files, improved description of
> macros and source files, faster searching for symbols, improved debugging
> optimized code, as well as numerous improvements in functionality and
> performance.

On platforms where DWARF version 5 is supported (Linux, primarily), this commit
adds support for it behind a new `-Z dwarf-version=5` flag.

[1]: https://dwarfstd.org/Public_Review.php
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/Linker.cpp')
0 files changed, 0 insertions, 0 deletions