mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-01 13:17:01 +00:00
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
This commit is contained in:
@@ -21,9 +21,10 @@ using namespace llvm;
|
|||||||
// Command-line options that tend to be useful on more than one back-end.
|
// Command-line options that tend to be useful on more than one back-end.
|
||||||
//
|
//
|
||||||
|
|
||||||
bool llvm::PrintMachineCode;
|
namespace llvm {
|
||||||
bool llvm::NoFramePointerElim;
|
bool PrintMachineCode;
|
||||||
|
bool NoFramePointerElim;
|
||||||
|
};
|
||||||
namespace {
|
namespace {
|
||||||
cl::opt<bool, true> PrintCode("print-machineinstrs",
|
cl::opt<bool, true> PrintCode("print-machineinstrs",
|
||||||
cl::desc("Print generated machine code"),
|
cl::desc("Print generated machine code"),
|
||||||
|
Reference in New Issue
Block a user