From: Misha Brukman Date: Mon, 21 Jun 2004 21:44:12 +0000 (+0000) Subject: Direct declaration of namespace-ified globals does not work, must enclose X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=f90e402af88c179d152ad5b4aba307814530ecca;p=oota-llvm.git Direct declaration of namespace-ified globals does not work, must enclose them with a namespace declaration. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14303 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/TargetMachine.cpp b/lib/Target/TargetMachine.cpp index 8e114fc0b27..d71bd3f9542 100644 --- a/lib/Target/TargetMachine.cpp +++ b/lib/Target/TargetMachine.cpp @@ -21,9 +21,10 @@ using namespace llvm; // Command-line options that tend to be useful on more than one back-end. // -bool llvm::PrintMachineCode; -bool llvm::NoFramePointerElim; - +namespace llvm { + bool PrintMachineCode; + bool NoFramePointerElim; +}; namespace { cl::opt PrintCode("print-machineinstrs", cl::desc("Print generated machine code"),