1 // RUN: %clang_cc1 -triple x86_64-unknown-linux -fsymbol-partition=foo -emit-llvm -o - %s | FileCheck %s
3 // CHECK: @gv = {{.*}}, partition "foo"
4 // CHECK: @_ZTV1S = {{.*}}, partition "foo"
5 // CHECK: @_ZTS1S = {{.*}}, partition "foo"
6 // CHECK: @_ZTI1S = {{.*}}, partition "foo"
8 // CHECK: @_Z5ifuncv = {{.*}}, partition "foo"
10 // CHECK: define {{.*}} @_ZN1S1fEv({{.*}} partition "foo"
11 // CHECK: define {{.*}} @f({{.*}} partition "foo"
20 extern "C" void *f() { return 0; }
21 void ifunc() __attribute__((ifunc("f")));