[compiler-rt] e483673 - [compiler-rt][HWASAN] Add missing include in deep-recursion.c test

David Spickett via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 17 01:12:28 PDT 2023


Author: David Spickett
Date: 2023-10-17T08:12:21Z
New Revision: e483673246bdee06e54ec06fd04236bc9fee7f63

URL: https://github.com/llvm/llvm-project/commit/e483673246bdee06e54ec06fd04236bc9fee7f63
DIFF: https://github.com/llvm/llvm-project/commit/e483673246bdee06e54ec06fd04236bc9fee7f63.diff

LOG: [compiler-rt][HWASAN] Add missing include in deep-recursion.c test

Added: 
    

Modified: 
    compiler-rt/test/hwasan/TestCases/deep-recursion.c

Removed: 
    


################################################################################
diff  --git a/compiler-rt/test/hwasan/TestCases/deep-recursion.c b/compiler-rt/test/hwasan/TestCases/deep-recursion.c
index 792f758958270b6..19d2b50726bee51 100644
--- a/compiler-rt/test/hwasan/TestCases/deep-recursion.c
+++ b/compiler-rt/test/hwasan/TestCases/deep-recursion.c
@@ -17,7 +17,9 @@
 // Stack histories are currently not recorded on x86.
 // XFAIL: target=x86_64{{.*}}
 
+#include <stdint.h>
 #include <stdlib.h>
+
 // At least -O1 is needed for this function to not have a stack frame on
 // AArch64.
 void USE(void *x) { // pretend_to_do_something(void *x)


        


More information about the llvm-commits mailing list