about summary refs log tree commit diff
path: root/src/rustllvm/ExecutionEngineWrapper.cpp
diff options
context:
space:
mode:
authorStuart Pernsteiner <spernsteiner@mozilla.com>2014-07-28 14:45:27 -0700
committerStuart Pernsteiner <spernsteiner@mozilla.com>2014-09-05 09:18:57 -0700
commit2e7bc0f808d9ad874010ac610ad796d07127c458 (patch)
treebb98353133af71cc53bfd1ebed294a469816a4d0 /src/rustllvm/ExecutionEngineWrapper.cpp
parentcf672850df05a05e8bb5785228c408a24e102d32 (diff)
downloadrust-2e7bc0f808d9ad874010ac610ad796d07127c458.tar.gz
rust-2e7bc0f808d9ad874010ac610ad796d07127c458.zip
reuse original symbols for inlined items
When inlining an item from another crate, use the original symbol from that
crate's metadata instead of generating a new symbol using the `ast::NodeId` of
the inlined copy.  This requires exporting symbols in the crate metadata in a
few additional cases.  Having predictable symbols for inlined items will be
useful later to avoid generating duplicate object code for inlined items.
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions