[PATCH] D77068: [XCore] fix crash on unused inline in EmitTargetMetadata
Nigel Perks via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jun 22 09:07:43 PDT 2020
nigelp-xmos marked an inline comment as done.
nigelp-xmos added inline comments.
================
Comment at: clang/test/CodeGen/xcore-unused-inline.c:4
+
+inline void dead_function(void) {}
----------------
erichkeane wrote:
> What is this test validating? It should likely have a check line of some sort.
Currently this file crashes clang with xcore target, so it was to check there is no crash. I will add a comment to explain. I can add a CHECK too. Thank you.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D77068/new/
https://reviews.llvm.org/D77068
More information about the cfe-commits
mailing list