11 lines · plain
1## Check that we do not reject position-independent executables (PIEs).2 3## This test uses the clang driver without target flags and will only succeed4## on Linux systems where the host triple matches the target.5REQUIRES: system-linux6 7RUN: %clangxx %cxxflags -fPIC -pie %p/Inputs/jump_table_icp.cpp -o %t8RUN: llvm-bolt %t -o %t.null 2>&1 | FileCheck %s9 10CHECK: BOLT-INFO: shared object or position-independent executable detected11