about summary refs log tree commit diff
path: root/src/rustllvm/ArchiveWrapper.cpp
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-03-30 14:14:52 +0100
committerGitHub <noreply@github.com>2019-03-30 14:14:52 +0100
commitbe6b4c06be1481c0ade7ed683fc36b039166a8a1 (patch)
tree3833aa541c891fea4a4b30141fbc2ea27e1b8f1a /src/rustllvm/ArchiveWrapper.cpp
parent6c49da45441d29aadd5935dabbaa8dc09ebad33a (diff)
parent03639a2bff351315ca59fc080b10de1df60bf910 (diff)
downloadrust-be6b4c06be1481c0ade7ed683fc36b039166a8a1.tar.gz
rust-be6b4c06be1481c0ade7ed683fc36b039166a8a1.zip
Rollup merge of #59343 - eddyb:rm-def-symbol-name, r=michaelwoerister
rustc(codegen): uncache `def_symbol_name` prefix from `symbol_name`.

The `def_symbol_name` query was an optimization to avoid recomputing the common part of a symbol name, as only the hash needs to be added to it for each symbol.

However, #57967 will add a new mangling scheme, which doesn't readily support this kind of reuse - while it's plausible, it requires a lot more effort, since you'd have to "symbolically evaluate" mangling, and keep it in a form where the backreference positions can be computed correctly in the final step.

So I want to see how much time we're actually saving with this `def_symbol_name` optimization, nowadays.

cc @michaelwoerister
Diffstat (limited to 'src/rustllvm/ArchiveWrapper.cpp')
0 files changed, 0 insertions, 0 deletions