Update analyzer build.
[clang.git] / test / CodeGen / builtin-stackaddress.c
blobf13b90eb9ed3f7856e1dc4ae3527147d0c8ec19c
1 // RUN: %clang_cc1 -emit-llvm < %s | grep "llvm.returnaddress"
2 // RUN: %clang_cc1 -emit-llvm < %s | grep "llvm.frameaddress"
3 void* a(unsigned x) {
4 return __builtin_return_address(0);
7 void* c(unsigned x) {
8 return __builtin_frame_address(0);