[PATCH] D66839: Fix stack address builtin for negative numbers
Zoe Carver via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Aug 27 15:54:35 PDT 2019
zoecarver marked an inline comment as done.
zoecarver added inline comments.
================
Comment at: clang/test/Sema/builtin-stackaddress.c:10
+// expected-error at +1 {{argument to '__builtin_return_address' must be a constant integer}}
+return __builtin_return_address(x);
}
----------------
For some reason `lit` was still erroring here.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D66839/new/
https://reviews.llvm.org/D66839
More information about the cfe-commits
mailing list