mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-21 23:17:16 +00:00
SafeStack: Create the unsafe stack pointer on demand.
This avoids creating an unnecessary undefined reference on targets such as NVPTX that require such references to be declared in asm output. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240321 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -6,6 +6,8 @@
|
||||
; no safestack attribute
|
||||
; Requires no protector.
|
||||
|
||||
; CHECK-NOT: __safestack_unsafe_stack_ptr
|
||||
|
||||
; CHECK: @foo
|
||||
define void @foo(i8* %a) nounwind uwtable {
|
||||
entry:
|
||||
|
||||
Reference in New Issue
Block a user