]> granicus.if.org Git - llvm/commit
Revert r295861, "[ModuleSummaryAnalysis] Don't crash when referencing unnamed globals."
authorPeter Collingbourne <peter@pcc.me.uk>
Wed, 3 May 2017 00:18:48 +0000 (00:18 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Wed, 3 May 2017 00:18:48 +0000 (00:18 +0000)
commit8d8582cf12c72b71775596ba8019b143c0b9cd03
tree9994020029491fe6c4ae9845d164aad76ee8292f
parent85fd68bf8250ae26b2a85a128d46396b79184dd0
Revert r295861, "[ModuleSummaryAnalysis] Don't crash when referencing unnamed globals."

We should always expect values to be named before running the module summary
analysis (see NameAnonGlobals pass), so it's fine if we crash in that case.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@301991 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/ModuleSummaryAnalysis.cpp
test/Transforms/FunctionImport/unnamed-globals.ll [deleted file]