about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorkennytm <kennytm@gmail.com>2018-05-24 16:02:39 +0800
committerGitHub <noreply@github.com>2018-05-24 16:02:39 +0800
commit4db2241212bfda4f764df8f57acd87b72ed35d6a (patch)
tree56f3effc69475f8b58df63c7f5f1cf170c476475 /src/rustllvm/RustWrapper.cpp
parent02d53f2de7b420cdaab6e98d8fd958489cca42de (diff)
parent599b79ebf522aa9e7507a602844b2da573160347 (diff)
downloadrust-4db2241212bfda4f764df8f57acd87b72ed35d6a.tar.gz
rust-4db2241212bfda4f764df8f57acd87b72ed35d6a.zip
Rollup merge of #50964 - michaelwoerister:query-symbol-names, r=nikomatsakis
Make sure that queries have predictable symbol names.

Some recent refactorings led to query names not showing up in the corresponding symbol names. [perf-focus](https://github.com/nikomatsakis/perf-focus) and manual profiling have been broken by this. This PR makes sure that query providers always get their own symbol and that that symbol has a predictable name.

Since this adds `#[inline(never)]` to a function that wraps the provider call, let's check if this does not regress performance before merging.

r? @nikomatsakis
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions