2014-01-30 01:01:36 +00:00
|
|
|
// FIXME: Check IR rather than asm, then triple is not needed.
|
2018-11-14 22:59:27 +00:00
|
|
|
// RUN: %clang --target=%itanium_abi_triple -g -S %s -o - | FileCheck %s
|
2011-04-15 05:22:18 +00:00
|
|
|
// Test to check presence of debug info for byval parameter.
|
2010-08-26 22:54:33 +00:00
|
|
|
class DAG {
|
|
|
|
public:
|
|
|
|
int i;
|
|
|
|
int j;
|
|
|
|
};
|
|
|
|
|
|
|
|
class EVT {
|
|
|
|
public:
|
|
|
|
int a;
|
|
|
|
int b;
|
|
|
|
int c;
|
|
|
|
};
|
|
|
|
|
|
|
|
class VAL {
|
|
|
|
public:
|
|
|
|
int x;
|
|
|
|
int y;
|
|
|
|
};
|
|
|
|
void foo(EVT e);
|
|
|
|
EVT bar();
|
|
|
|
|
|
|
|
void get(int *i, unsigned dl, VAL v, VAL *p, unsigned n, EVT missing_arg) {
|
[AIX] Print printable byte list as quoted string
.byte supports string, so if the whole byte list are printable,
we can actually print the string for readability and LIT tests maintainence.
.byte 'H,'e,'l,'l,'o,',,' ,'w,'o,'r,'l,'d
->
.byte "Hello, world"
Reviewed By: hubert.reinterpretcast
Differential Revision: https://reviews.llvm.org/D102814
2021-05-21 02:14:13 +00:00
|
|
|
//CHECK: .{{asciz|string|byte}} "missing_arg"
|
2010-08-26 22:54:33 +00:00
|
|
|
EVT e = bar();
|
|
|
|
if (dl == n)
|
|
|
|
foo(missing_arg);
|
|
|
|
}
|
|
|
|
|