mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-23 15:29:51 +00:00
49cb9b8886
externally visable, create a local symbol to use in the CFE. If not, use the function label itself. Fixes PR10420. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136716 91177308-0d34-0410-b5e6-96231b3b80d8
22 lines
531 B
LLVM
22 lines
531 B
LLVM
; RUN: llc < %s -mtriple=x86_64-apple-macosx -disable-cfi | FileCheck %s
|
|
|
|
define private void @foo() {
|
|
ret void
|
|
}
|
|
|
|
define void @bar() {
|
|
call void @foo()
|
|
ret void;
|
|
}
|
|
|
|
; CHECK: _bar: ## @bar
|
|
; CHECK-NEXT: Ltmp2:
|
|
|
|
; CHECK: Ltmp12:
|
|
; CHECK-NEXT: Ltmp13 = L_foo-Ltmp12 ## FDE initial location
|
|
; CHECK-NEXT: .quad Ltmp13
|
|
|
|
; CHECK: Ltmp19:
|
|
; CHECK-NEXT: Ltmp20 = Ltmp2-Ltmp19 ## FDE initial location
|
|
; CHECK-NEXT: .quad Ltmp20
|