[CodeGen] Fix two dots between text section name and symbol name
authorPan, Tao <tao.pan@intel.com>
Sat, 20 Feb 2021 02:15:06 +0000 (10:15 +0800)
committerWang, Pengfei <pengfei.wang@intel.com>
Sat, 20 Feb 2021 02:15:48 +0000 (10:15 +0800)
commit12edddafac451cb39b923dd0883794f554fc9616
treea3ecc8e3fe9aecb25cb11193042aaebe4ed72fc8
parentc17547df44fcbe2cd34bd264b6bda7af0208248b
[CodeGen] Fix two dots between text section name and symbol name

There is a trailing dot in text section name if it has prefix, don't add
repeated dot when connect text section name and symbol name.

Reviewed By: MaskRay

Differential Revision: https://reviews.llvm.org/D96327
llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
llvm/test/DebugInfo/X86/basic-block-sections_1.ll