mirror of
				https://github.com/c64scene-ar/llvm-6502.git
				synced 2025-10-31 08:16:47 +00:00 
			
		
		
		
	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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228490 91177308-0d34-0410-b5e6-96231b3b80d8
		
			
				
	
	
		
			16 lines
		
	
	
		
			416 B
		
	
	
	
		
			LLVM
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			416 B
		
	
	
	
		
			LLVM
		
	
	
	
	
	
| ; RUN: llc -mtriple thumbv7-windows -filetype asm -o - %s | FileCheck %s
 | |
| 
 | |
| @.str = private unnamed_addr constant [7 x i8] c"string\00", align 1
 | |
| 
 | |
| declare arm_aapcs_vfpcc void @callee(i8*)
 | |
| 
 | |
| define arm_aapcs_vfpcc void @function() {
 | |
| entry:
 | |
|   call arm_aapcs_vfpcc void @callee(i8* getelementptr inbounds ([7 x i8]* @.str, i32 0, i32 0))
 | |
|   ret void
 | |
| }
 | |
| 
 | |
| ; CHECK: .section .rdata,"dr"
 | |
| ; CHECK-NOT: .section ".rodata.str1.1"
 | |
| 
 |