]> granicus.if.org Git - llvm/commit
Merging r347431:
authorTom Stellard <tstellar@redhat.com>
Thu, 29 Nov 2018 23:40:59 +0000 (23:40 +0000)
committerTom Stellard <tstellar@redhat.com>
Thu, 29 Nov 2018 23:40:59 +0000 (23:40 +0000)
commitf8ee49e3d8b9a064d424e30c1d97086509e8556d
tree375eb2fecfa943be3b48bb23034104eea3dda042
parent92101a335c58418009c450d34e37b85af08cbbe7
Merging r347431:

------------------------------------------------------------------------
r347431 | rnk | 2018-11-21 14:01:10 -0800 (Wed, 21 Nov 2018) | 12 lines

[mingw] Use unmangled name after the $ in the section name

GCC does it this way, and we have to be consistent. This includes
stdcall and fastcall functions with suffixes. I confirmed that a
fastcall function named "foo" ends up in ".text$foo", not
".text$@foo@8".

Based on a patch by Andrew Yohn!

Fixes PR39218.

Differential Revision: https://reviews.llvm.org/D54762
------------------------------------------------------------------------

git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_70@347931 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/TargetLoweringObjectFileImpl.cpp
test/CodeGen/X86/mingw-comdats.ll