mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-12 22:28:22 +00:00
fc5436c951
Before llvm-mc would print it, but llc was assuming that it would produce another section changing directive before one was needed. That assumption is false with inline asm. Fixes PR19049. Another option would be to always create the section, but in the asm printer avoid printing sections changes during initialization. That would work, but * We do use the fact that llvm-mc prints it in testing. The tests can be changed if needed. * A quick poll on IRC suggest that most developers prefer the implicit .text to be printed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203001 91177308-0d34-0410-b5e6-96231b3b80d8
8 lines
166 B
LLVM
8 lines
166 B
LLVM
; RUN: llc -mtriple x86_64-pc-linux %s -o - | FileCheck %s
|
|
|
|
module asm ".pushsection foo"
|
|
module asm ".popsection"
|
|
|
|
; CHECK: .section foo,"",@progbits
|
|
; CHECK: .text
|