]> granicus.if.org Git - llvm/commit
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)
commitd321fa9f208fe536a4d55a984d93968a2acaf2db
tree765ef6c29f3746bf77d1cbcdf9bb5b53390e557f
parent0669008425da5a3d9c2b7069ac379e6fb44d888f
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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@373678 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/IPO/LowerTypeTests.cpp
test/Transforms/LowerTypeTests/export-rename-local.ll [new file with mode: 0644]