about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2013-09-14 23:19:11 -0700
committerAlex Crichton <alex@alexcrichton.com>2013-09-14 23:19:11 -0700
commit1da4488d8713a4190f110407470f57ddec42ec62 (patch)
treecaa89793cf87585717b81cf310c3e7a690244b3c /src/rustllvm/RustWrapper.cpp
parent7c8f503ac543e0ffe18986b8d6f8548df21cefa3 (diff)
downloadrust-1da4488d8713a4190f110407470f57ddec42ec62.tar.gz
rust-1da4488d8713a4190f110407470f57ddec42ec62.zip
Guarantee that statics have unique names
While they may have the same name within various scopes, this changes static
names to use path_pretty_name to append some hash information at the end of the
symbol. We're then guaranteed that each static has a unique NodeId, so this
NodeId is as the "hash" of the pretty name.

Closes #9188
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions