You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
572 B
22 lines
572 B
// RUN: %clang_cc1 -triple x86_64-unknown-linux -fsymbol-partition=foo -emit-llvm -o - %s | FileCheck %s
|
|
|
|
// CHECK: @gv = {{.*}}, partition "foo"
|
|
// CHECK: @_ZTV1S = {{.*}}, partition "foo"
|
|
// CHECK: @_ZTS1S = {{.*}}, partition "foo"
|
|
// CHECK: @_ZTI1S = {{.*}}, partition "foo"
|
|
|
|
// CHECK: @_Z5ifuncv = {{.*}}, partition "foo"
|
|
|
|
// CHECK: define {{.*}} @_ZN1S1fEv({{.*}} partition "foo"
|
|
// CHECK: define {{.*}} @f({{.*}} partition "foo"
|
|
|
|
struct S {
|
|
virtual void f();
|
|
};
|
|
|
|
void S::f() {}
|
|
|
|
int gv;
|
|
extern "C" void *f() { return 0; }
|
|
void ifunc() __attribute__((ifunc("f")));
|