OSDN Git Service

Stop the ValueMapper from calling getAllMetadata, which unpacks DebugLoc into
authorChris Lattner <sabre@nondot.org>
Thu, 14 Jul 2011 18:53:50 +0000 (18:53 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 14 Jul 2011 18:53:50 +0000 (18:53 +0000)
commit4692be11a9ecee983760b0420ef2775a4c3706dc
tree0bfac2d7fba184013a51931b00f7df549d9b17d5
parent62f67f86fea55562ef28650b87f73924855438fa
Stop the ValueMapper from calling getAllMetadata, which unpacks DebugLoc into
an MDNode.  This saves a bunch of time and memory in the IR linker, e.g. when
doing LTO of files with debug info.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135172 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Utils/ValueMapper.cpp