1 // RUN: %clang_cc1 -emit-llvm < %s | grep "llvm.returnaddress" 2 // RUN: %clang_cc1 -emit-llvm < %s | grep "llvm.frameaddress" a(unsigned x)3 void* a(unsigned x) { 4 return __builtin_return_address(0); 5 } 6 c(unsigned x)7 void* c(unsigned x) { 8 return __builtin_frame_address(0); 9 } 10