1// FIXME: Check IR rather than asm, then triple is not needed. 2// RUN: %clang -Xclang -triple=%itanium_abi_triple -g -S %s -o - | FileCheck %s 3// Test to check presence of debug info for byval parameter. 4// Radar 8350436. 5class DAG { 6public: 7 int i; 8 int j; 9}; 10 11class EVT { 12public: 13 int a; 14 int b; 15 int c; 16}; 17 18class VAL { 19public: 20 int x; 21 int y; 22}; 23void foo(EVT e); 24EVT bar(); 25 26void get(int *i, unsigned dl, VAL v, VAL *p, unsigned n, EVT missing_arg) { 27//CHECK: .{{asciz|string}} "missing_arg" 28 EVT e = bar(); 29 if (dl == n) 30 foo(missing_arg); 31} 32 33