[PATCH] D123107: [BOLT][test] Fix AArch64 test
Maksim Panchenko via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 4 23:29:02 PDT 2022
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG163e188e3ecb: [BOLT][test] Fix AArch64 test (authored by maksfb).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D123107/new/
https://reviews.llvm.org/D123107
Files:
bolt/test/AArch64/text-data.c
Index: bolt/test/AArch64/text-data.c
===================================================================
--- bolt/test/AArch64/text-data.c
+++ bolt/test/AArch64/text-data.c
@@ -8,13 +8,13 @@
// CHECK: {{.*}} <arr>:
-#include <stdlib.h>
+extern void exit(int);
typedef void (*FooPtr)();
void exitOk() { exit(0); }
-__attribute__((section(".text"))) const FooPtr arr[] = {exitOk, NULL};
+__attribute__((section(".text"))) const FooPtr arr[] = {exitOk, 0};
int main() {
arr[0]();
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D123107.420390.patch
Type: text/x-patch
Size: 496 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220405/ac58ed75/attachment.bin>
More information about the llvm-commits
mailing list