[MC] Use COMDAT for LSDA only if IR comdat type is any
authorPetr Hosek <phosek@google.com>
Tue, 20 Apr 2021 23:14:02 +0000 (16:14 -0700)
committerPetr Hosek <phosek@google.com>
Wed, 21 Apr 2021 21:41:39 +0000 (14:41 -0700)
commit7a718e16302314352227188fc82f757468a75e0b
tree666105d6a63b5a9f092effec60fe62adb5ba44b0
parent12a25076463d0b04b535d07982d7420971bcea3e
[MC] Use COMDAT for LSDA only if IR comdat type is any

This fixed issue introduced in 16af97393346ad636298605930a8b503a55eb40a
and 796feb61637c407aefcc0d462f24a1cc41f350d8.

Differential Revision: https://reviews.llvm.org/D100909
llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
llvm/test/CodeGen/X86/gcc_except_table-multi.ll