projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5adc94b
)
[BOLT][test] Fix AArch64 test
author
Maksim Panchenko
<maks@fb.com>
Tue, 5 Apr 2022 06:20:32 +0000
(23:20 -0700)
committer
Maksim Panchenko
<maks@fb.com>
Tue, 5 Apr 2022 06:28:47 +0000
(23:28 -0700)
Remove header dependency from cross-platform test.
Reviewed By: yota9
Differential Revision: https://reviews.llvm.org/D123107
bolt/test/AArch64/text-data.c
patch
|
blob
|
history
diff --git
a/bolt/test/AArch64/text-data.c
b/bolt/test/AArch64/text-data.c
index
bd633d0
..
ccba6e7
100644
(file)
--- a/
bolt/test/AArch64/text-data.c
+++ b/
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]();