1 # Check that we do not reject position-independent executables (PIEs).
3 # This test uses the clang driver without target flags and will only succeed
4 # on Linux systems where the host triple matches the target.
7 RUN: %clang %cflags -fPIC -pie %p/Inputs/jump_table_icp.cpp -o %t
8 RUN: llvm-bolt %t -o %t.null 2>&1 | FileCheck %s
10 CHECK: BOLT-INFO: shared object or position-independent executable detected