mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-19 17:33:29 +00:00
e247dd2839
Parts of llvm were not expecting it and we wouldn't print the entity size of the section. Given what comdats are used for, having SHF_MERGE sections would be just a small improvement, so just disable it for now. Fixes pr22463. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228196 91177308-0d34-0410-b5e6-96231b3b80d8
9 lines
367 B
LLVM
9 lines
367 B
LLVM
; RUN: llc < %s -mtriple=i386-unknown-linux | FileCheck %s -check-prefix=LINUX
|
|
; RUN: llc < %s -mtriple=i386-unknown-linux -data-sections | FileCheck %s -check-prefix=LINUX-SECTIONS
|
|
|
|
$G16 = comdat any
|
|
@G16 = unnamed_addr constant i32 42, comdat
|
|
|
|
; LINUX: .section .rodata.G16,"aG",@progbits,G16,comdat
|
|
; LINUX-SECTIONS: .section .rodata.G16,"aG",@progbits,G16,comdat
|