You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
552 B
33 lines
552 B
// FIXME: Check IR rather than asm, then triple is not needed.
|
|
// RUN: %clang --target=%itanium_abi_triple -g -S %s -o - | FileCheck %s
|
|
// Test to check presence of debug info for byval parameter.
|
|
// Radar 8350436.
|
|
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) {
|
|
//CHECK: .{{asciz|string}} "missing_arg"
|
|
EVT e = bar();
|
|
if (dl == n)
|
|
foo(missing_arg);
|
|
}
|
|
|