[PATCH] D62133: test/CodeGen/builtin-stackaddress.c duplicates test/CodeGen/2004-02-13-BuiltinFrameReturnAddress.c

A. Skrobov via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon May 20 03:43:29 PDT 2019


t.yomitch created this revision.
t.yomitch added reviewers: efriedma, echristo, ddunbar.
Herald added a subscriber: kristina.
Herald added a project: clang.

Repository:
  rC Clang

https://reviews.llvm.org/D62133

Files:
  test/CodeGen/builtin-stackaddress.c


Index: test/CodeGen/builtin-stackaddress.c
===================================================================
--- test/CodeGen/builtin-stackaddress.c
+++ /dev/null
@@ -1,9 +0,0 @@
-// RUN: %clang_cc1 -emit-llvm < %s | grep "llvm.returnaddress"
-// RUN: %clang_cc1 -emit-llvm < %s | grep "llvm.frameaddress"
-void* a(unsigned x) {
-return __builtin_return_address(0);
-}
-
-void* c(unsigned x) {
-return __builtin_frame_address(0);
-}


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D62133.200238.patch
Type: text/x-patch
Size: 435 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190520/3ea9cdd8/attachment.bin>


More information about the cfe-commits mailing list