[LTO] Constify the Module Hook function (NFC)
authorMehdi Amini <mehdi.amini@apple.com>
Mon, 22 Aug 2016 16:17:40 +0000 (16:17 +0000)
committerMehdi Amini <mehdi.amini@apple.com>
Mon, 22 Aug 2016 16:17:40 +0000 (16:17 +0000)
commitf8c2f08cb361c522f7bb614220e78bc9f77724a9
tree28fba68a22c572f0c9d3a5582458afb706a8af3e
parent673b347e5a4aa8ca382dfb38e0cc3e9ead6c68fe
[LTO] Constify the Module Hook function (NFC)

It use to be non-const for the sole purpose of custom handling of
commons symbol. This is moved now in the regular LTO handling now
and such we can constify the callback.

llvm-svn: 279438
llvm/include/llvm/LTO/Config.h
llvm/lib/LTO/LTOBackend.cpp