LowerTypeTests: Rename local functions to avoid collisions with identically named...
authorPeter Collingbourne <peter@pcc.me.uk>
Thu, 3 Oct 2019 23:42:44 +0000 (23:42 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Thu, 3 Oct 2019 23:42:44 +0000 (23:42 +0000)
commit71662116fd9626b398a03283406a5e28c807f57c
tree01d6ac5499bb2d5c34dac9685c61d302240c90cd
parentf9d8bbee898594df085292bc409eaf2c1c38f1dc
LowerTypeTests: Rename local functions to avoid collisions with identically named functions in ThinLTO modules.

Without this we can encounter link errors or incorrect behaviour
at runtime as a result of the wrong function being referenced.

Differential Revision: https://reviews.llvm.org/D67945

llvm-svn: 373678
llvm/lib/Transforms/IPO/LowerTypeTests.cpp
llvm/test/Transforms/LowerTypeTests/export-rename-local.ll [new file with mode: 0644]