[llvm] [X86] Print 'l' section flag for SHF_X86_64_LARGE (PR #70380)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 26 15:49:50 PDT 2023


================
@@ -16,6 +16,8 @@
 ; RUN: llc < %s -relocation-model=pic -filetype=obj -code-model=large -data-sections -o %t
 ; RUN: llvm-readelf -S %t | FileCheck %s --check-prefix=SMALL-DS
 
+; RUN: llc < %s -relocation-model=pic -filetype=asm -code-model=medium -large-data-threshold=79 -o - | FileCheck %s --check-prefix=LARGE-ASM
----------------
MaskRay wrote:

We can reuse `llvm/test/MC/ELF/section.s`

https://github.com/llvm/llvm-project/pull/70380


More information about the llvm-commits mailing list