diff options
| author | Patrick Walton <[email protected]> | 2011-05-06 10:21:33 -0700 |
|---|---|---|
| committer | Patrick Walton <[email protected]> | 2011-05-06 12:37:59 -0700 |
| commit | 8e7aeed2d51327a7e1c806e66267465d0adcfa25 (patch) | |
| tree | def189abe3f31c1ffab3ace39b379dea205a16c5 /src/comp | |
| parent | Ge the host triple using LLVM. Fix a few 'mutable' warnings also. (diff) | |
| download | rust-8e7aeed2d51327a7e1c806e66267465d0adcfa25.tar.xz rust-8e7aeed2d51327a7e1c806e66267465d0adcfa25.zip | |
rustc: Include a representation of the type in question in the symbols generated for tydescs
Diffstat (limited to 'src/comp')
| -rw-r--r-- | src/comp/middle/trans.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/comp/middle/trans.rs b/src/comp/middle/trans.rs index 45c39ca7..84576623 100644 --- a/src/comp/middle/trans.rs +++ b/src/comp/middle/trans.rs @@ -1731,7 +1731,7 @@ fn declare_tydesc(@local_ctxt cx, ty.t t) -> @tydesc_info { auto glue_fn_ty = T_ptr(T_glue_fn(ccx.tn)); - auto name = mangle_name_by_seq(ccx, cx.path, "tydesc"); + auto name = mangle_name_by_type_only(ccx, t, "tydesc"); auto gvar = llvm.LLVMAddGlobal(ccx.llmod, T_tydesc(ccx.tn), _str.buf(name)); auto tydesc = C_struct(vec(C_null(T_ptr(T_ptr(T_tydesc(ccx.tn)))), |