OSDN Git Service

It's not obvious, but lto_module_create_from_memory doesn't need to use the
authorNick Lewycky <nicholas@mxc.ca>
Thu, 5 Feb 2009 05:36:01 +0000 (05:36 +0000)
committerNick Lewycky <nicholas@mxc.ca>
Thu, 5 Feb 2009 05:36:01 +0000 (05:36 +0000)
commit98245c7060a0a5399ca9e53f25541a5751ce4689
treee07c3fde4a10af8e78e37f5dbdf9e227bbc665a5
parentb0e341bca13cc4c729ba577cfcc6257bb1da0b33
It's not obvious, but lto_module_create_from_memory doesn't need to use the
buffer after it creates the Module. Thus, we don't need to store this pointer
in claimed_file.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@63834 91177308-0d34-0410-b5e6-96231b3b80d8
tools/gold/gold-plugin.cpp