From b89d3db1fda59ab90dd2ceb386e2df6e0843692b Mon Sep 17 00:00:00 2001 From: Sanjiv Gupta Date: Mon, 6 Jul 2009 10:18:37 +0000 Subject: Implement _CONFIG macro to allow users to se to configuration settings on the part. Implement _section macro to allow users to place objects in specific sections. Implement _address macro to allow users to place objects at a particular address. Placing objects at a memory address: crate a unique section name from varname, address, object type and put that section at specified address. Mark this section a full (size = banksize) so that other objects do not compete for it while placing objects to sections in AsmPrinter. llvm-svn: 74822 --- llvm/lib/CompilerDriver/BuiltinOptions.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'llvm/lib/CompilerDriver/BuiltinOptions.cpp') diff --git a/llvm/lib/CompilerDriver/BuiltinOptions.cpp b/llvm/lib/CompilerDriver/BuiltinOptions.cpp index a3364e8a72f..126346f68da 100644 --- a/llvm/lib/CompilerDriver/BuiltinOptions.cpp +++ b/llvm/lib/CompilerDriver/BuiltinOptions.cpp @@ -52,4 +52,5 @@ cl::opt SaveTemps "Use current working directory"), clEnumValN(SaveTempsEnum::Obj, "", "Same as 'cwd'"), clEnumValEnd), - cl::ValueOptional); + //cl::ValueOptional); + cl::Hidden); -- cgit v1.2.3