[llvm] [BOLT][AArch64] Implemented createDummyReturnFunction. (PR #96626)

Pavel Samolysov via llvm-commits llvm-commits at lists.llvm.org
Sat Jun 29 06:00:42 PDT 2024


================
@@ -0,0 +1,10 @@
+// Tests that AArch64 is able to instrument static binaries in relocation mode.
+
+REQUIRES: system-linux
+
+RUN: %clang %p/../Inputs/main.c -o %t -Wl,-q -static
+RUN: llvm-bolt -instrument -instrumentation-sleep-time=1 %t -o %t.instr 2>&1 | FileCheck %s
+RUN: llvm-nm -n %t.instr | FileCheck %s -check-prefix=CHECK-SYM
+
+CHECK: BOLT-INFO: output linked against instrumentation runtime library
+CHECK-SYM: __bolt_fini_trampoline
----------------
samolisov wrote:

Github shows there is no end-of-line at the end-of-file.

https://github.com/llvm/llvm-project/pull/96626


More information about the llvm-commits mailing list