mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-25 22:12:57 +02:00
482dac42aa
As a follow-up to r235955, actually support up to 65535 arguments in a subprogram. r235955 missed assembly support, having only tested the new limit via C++ unit tests. Code patch by Amjad Aboud. llvm-svn: 238854
7 lines
272 B
LLVM
7 lines
272 B
LLVM
; RUN: not llvm-as < %s 2>&1 | FileCheck %s
|
|
|
|
!0 = !DILocalVariable(tag: DW_TAG_arg_variable, scope: !{}, arg: 65535)
|
|
|
|
; CHECK: <stdin>:[[@LINE+1]]:66: error: value for 'arg' too large, limit is 65535
|
|
!1 = !DILocalVariable(tag: DW_TAG_arg_variable, scope: !{}, arg: 65536)
|