File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 1+ // REQUIRES: !rhel8
2+
13// RUN: %clang %cflags - march=armv9. 5 - a + pauth - lr - mbranch - protection=pac - ret %s %p/../../Inputs/asm_main.c - o %t.exe
24// RUN: llvm - bolt - binary - analysis -- scanners=pacret %t.exe 2 >& 1 | FileCheck %s
35
@@ -883,4 +885,3 @@ f_autib171615:
883885// CHECK - NEXT: {{ [ 0 - 9a - f ]+ }}: ret
884886 ret
885887 .size f_autib171615 , . - f_autib171615
886-
Original file line number Diff line number Diff line change 7575if lit .util .which ("fuser" ):
7676 config .available_features .add ("fuser" )
7777
78+ rhel_release = "/etc/redhat-release"
79+ if os .path .exists (rhel_release ) and \
80+ "release 8" in open (rhel_release ).read ().lower ():
81+ config .available_features .add ("rhel8" )
82+
7883llvm_config .use_default_substitutions ()
7984
8085llvm_config .config .environment ["CLANG" ] = config .bolt_clang
You can’t perform that action at this time.
0 commit comments