mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 04:02:41 +01:00
d987164eed
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. llvm-svn: 203001
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
|