mirror of
				https://github.com/c64scene-ar/llvm-6502.git
				synced 2025-10-30 16:17:05 +00:00 
			
		
		
		
	We were setting the comdat when functions were copied in the initial pass, but not when they were linked only when we found out that they are needed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215765 91177308-0d34-0410-b5e6-96231b3b80d8
		
			
				
	
	
		
			8 lines
		
	
	
		
			200 B
		
	
	
	
		
			LLVM
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
		
			200 B
		
	
	
	
		
			LLVM
		
	
	
	
	
	
| ; RUN: llvm-link %s %p/Inputs/comdat9.ll -S -o - | FileCheck %s
 | |
| 
 | |
| ; CHECK: $c = comdat any
 | |
| ; CHECK: @a = alias void ()* @f
 | |
| ; CHECK: define internal void @f() comdat $c {
 | |
| ; CHECK:   ret void
 | |
| ; CHECK: }
 |