Changes in directory llvm/include/llvm:
PassManagers.h updated: 1.17 -> 1.18 --- Log message: Use 'static const char' instead of 'static const int'. Due to darwin gcc bug, one version of darwin linker coalesces static const int, which defauts PassID based pass identification. --- Diffs of the changes: (+1 -1) PassManagers.h | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) Index: llvm/include/llvm/PassManagers.h diff -u llvm/include/llvm/PassManagers.h:1.17 llvm/include/llvm/PassManagers.h:1.18 --- llvm/include/llvm/PassManagers.h:1.17 Tue May 1 16:15:46 2007 +++ llvm/include/llvm/PassManagers.h Wed May 2 16:39:18 2007 @@ -336,7 +336,7 @@ class FPPassManager : public ModulePass, public PMDataManager { public: - static const int ID; + static const char ID; explicit FPPassManager(int Depth) : ModulePass((intptr_t)&ID), PMDataManager(Depth) { } _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits