mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
639c882cbe
COFF section flags are not idempotent: 'rd' will make a read-write section because 'd' implies write 'dr' will make a read-only section because 'r' disables write llvm-svn: 228490
8 lines
203 B
LLVM
8 lines
203 B
LLVM
; RUN: llc -mtriple i686-windows %s -o - | FileCheck %s
|
|
; RUN: llc -mtriple x86_64-windows %s -o - | FileCheck %s
|
|
|
|
@data = dllexport constant [5 x i8] c"data\00", align 1
|
|
|
|
; CHECK: .section .rdata,"dr"
|
|
|