[cfi] Fix a warning in tests.
test/cfi/cross-dso/dlopen.cpp:67:45: warning: GCC does not allow 'aligned' attribute in this position on a function definition [-Wgcc-compat]
extern "C" void do_nothing() __attribute__((aligned(4096))) {}
llvm-svn: 258992
This commit is contained in:
parent
d9272422a2
commit
e7f8b23716
|
|
@ -64,7 +64,7 @@ extern "C" void *create_B() {
|
|||
return (void *)(new B());
|
||||
}
|
||||
|
||||
extern "C" void do_nothing() __attribute__((aligned(4096))) {}
|
||||
extern "C" __attribute__((aligned(4096))) void do_nothing() {}
|
||||
|
||||
#else
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue