diff options
author | Sanjiv Gupta <sanjiv.gupta@microchip.com> | 2009-07-06 10:18:37 +0000 |
---|---|---|
committer | Sanjiv Gupta <sanjiv.gupta@microchip.com> | 2009-07-06 10:18:37 +0000 |
commit | b89d3db1fda59ab90dd2ceb386e2df6e0843692b (patch) | |
tree | 0871decf65c6be56a6954ab81bf604a2e5185461 /llvm/lib/CompilerDriver/BuiltinOptions.cpp | |
parent | f539f0328988b4af7b253de5efb6c1e5b4f774f7 (diff) | |
download | bcm5719-llvm-b89d3db1fda59ab90dd2ceb386e2df6e0843692b.tar.gz bcm5719-llvm-b89d3db1fda59ab90dd2ceb386e2df6e0843692b.zip |
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
Diffstat (limited to 'llvm/lib/CompilerDriver/BuiltinOptions.cpp')
-rw-r--r-- | llvm/lib/CompilerDriver/BuiltinOptions.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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<SaveTempsEnum::Values> SaveTemps "Use current working directory"), clEnumValN(SaveTempsEnum::Obj, "", "Same as 'cwd'"), clEnumValEnd), - cl::ValueOptional); + //cl::ValueOptional); + cl::Hidden); |