[NFC][XCOFF][AIX] Return function entry point symbol with dedicate function
authorjasonliu <jasonliu.development@gmail.com>
Wed, 27 May 2020 17:52:21 +0000 (17:52 +0000)
committerjasonliu <jasonliu.development@gmail.com>
Wed, 27 May 2020 17:54:22 +0000 (17:54 +0000)
commit8d9ff2318530d91be04ccced107c3ef04ba2255f
tree5e26b58311b01bcccac3047cafef1249bf2b613c
parentd37ce53ad30f3d5e7fb37b5bb9c49793ca33d2df
[NFC][XCOFF][AIX] Return function entry point symbol with dedicate function

Use getFunctionEntryPointSymbol whenever possible to enclose the
implementation detail and reduce duplicate logic.

Differential Revision: https://reviews.llvm.org/D80402
llvm/include/llvm/CodeGen/TargetLoweringObjectFileImpl.h
llvm/include/llvm/Target/TargetLoweringObjectFile.h
llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp