You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "xiaoxiang781216 (via GitHub)" <gi...@apache.org> on 2023/09/23 15:21:24 UTC

[GitHub] [nuttx] xiaoxiang781216 commented on a diff in pull request #10787: kasan: add builtin_return_address(0) to kasan

xiaoxiang781216 commented on code in PR #10787:
URL: https://github.com/apache/nuttx/pull/10787#discussion_r1335028549


##########
include/nuttx/compiler.h:
##########
@@ -157,6 +157,7 @@
  */
 
 #  define offsetof(a, b) __builtin_offsetof(a, b)
+#  define return_address(x) __builtin_return_address(x)

Review Comment:
   Inline assembly also depends on compiler too, all assembly written in c file doesn't work across the different compiler.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org