[PATCH] D122520: [BOLT][test] Fix AArch64 cross-platform tests
Vladislav Khmelevsky via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Mar 26 06:27:33 PDT 2022
yota9 added a comment.
Overall LGTM, but the same changes must be applied to x86 folder of course
================
Comment at: bolt/test/AArch64/double_jump.cpp:55
-int main(int argc, const char *argv[]) { return foo(38); }
+extern "C" int start() { return foo(38); }
----------------
Although it will probably built, but I sugget _start here
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D122520/new/
https://reviews.llvm.org/D122520
More information about the llvm-commits
mailing list