[llvm-commits] [poolalloc] r169906 - /poolalloc/branches/release_32/include/LinkPA.h
John Criswell
criswell at uiuc.edu
Tue Dec 11 11:38:35 PST 2012
Author: criswell
Date: Tue Dec 11 13:38:35 2012
New Revision: 169906
URL: http://llvm.org/viewvc/llvm-project?rev=169906&view=rev
Log:
Adding in the LinkPA.h header file to aid in linking in the automatic pool
allocation passes.
Added:
poolalloc/branches/release_32/include/LinkPA.h
- copied, changed from r169129, poolalloc/branches/release_32/include/LinkDSA.h
Copied: poolalloc/branches/release_32/include/LinkPA.h (from r169129, poolalloc/branches/release_32/include/LinkDSA.h)
URL: http://llvm.org/viewvc/llvm-project/poolalloc/branches/release_32/include/LinkPA.h?p2=poolalloc/branches/release_32/include/LinkPA.h&p1=poolalloc/branches/release_32/include/LinkDSA.h&r1=169129&r2=169906&rev=169906&view=diff
==============================================================================
--- poolalloc/branches/release_32/include/LinkDSA.h (original)
+++ poolalloc/branches/release_32/include/LinkPA.h Tue Dec 11 13:38:35 2012
@@ -1,6 +1,6 @@
namespace {
- struct ForceDSALinking {
- ForceDSALinking() {
+ struct ForcePALinking {
+ ForcePALinking() {
// We must reference the passes in such a way that compilers will not
// delete it all as dead code, even with whole program optimization,
// yet is effectively a NO-OP. As the compiler isn't smart enough
@@ -9,15 +9,8 @@
return;
(void)new EntryPointAnalysis();
- (void)new llvm::BasicDataStructures();
- (void)new llvm::LocalDataStructures();
- (void)new llvm::StdLibDataStructures();
- (void)new llvm::BUDataStructures();
- (void)new llvm::CompleteBUDataStructures();
- (void)new llvm::EquivBUDataStructures();
- (void)new llvm::TDDataStructures();
- (void)new llvm::EQTDDataStructures();
- (void)new llvm::RTAssociate();
+ (void)new llvm::PoolAllocate();
+ (void)new llvm::PoolAllocateGroup();
}
- } ForceDSALinking; // Force link by creating a global definition.
+ } ForcePALinking; // Force link by creating a global definition.
}
More information about the llvm-commits
mailing list