Allow exclusion/discarding of custom sections with COMDAT groups. It piggybacks on the existing COMDAT-handling code, but applies to custom sections as well. Differential Revision: https://reviews.llvm.org/D92950
14 lines
310 B
ArmAsm
14 lines
310 B
ArmAsm
.text
|
|
.section .text.foo,"G",@,foo,comdat
|
|
.globl foo
|
|
.type foo,@function
|
|
foo:
|
|
.functype foo () -> ()
|
|
return
|
|
end_function
|
|
|
|
.section .debug_foo,"G",@,foo,comdat
|
|
.int32 1
|
|
.section .debug_foo,"G",@,duplicate,comdat
|
|
.int64 123
|