cargo-llvm-lines icon indicating copy to clipboard operation
cargo-llvm-lines copied to clipboard

v0 symbol mangling breaks proper grouping of duplicate copies

Open vorporeal opened this issue 1 year ago • 0 comments

When enabling v0 symbol mangling (e.g.: by setting rustflags = "-Csymbol-mangling-version=v0" in the [build] section of the cargo config file), most duplicate copies of a function end up as their own single-copy entry in the output instead of being properly grouped.

Perhaps cargo-llvm-lines should force the symbol mangling to legacy to ensure proper behavior for projects that normally use v0?

vorporeal avatar Oct 06 '23 12:10 vorporeal