Added a feature where registers can be referred to
using special $-variables from expressions.

(lldb) expr $rip

These variables are available for reading and
writing.

llvm-svn: 120367
diff --git a/lldb/source/Expression/ClangASTSource.cpp b/lldb/source/Expression/ClangASTSource.cpp
index e808a04..95a35b9 100644
--- a/lldb/source/Expression/ClangASTSource.cpp
+++ b/lldb/source/Expression/ClangASTSource.cpp
@@ -132,6 +132,8 @@
 
 clang::NamedDecl *NameSearchContext::AddVarDecl(void *type) {
     IdentifierInfo *ii = m_decl_name.getAsIdentifierInfo();
+    
+    assert (type && "Type for variable must be non-NULL!");
         
     clang::NamedDecl *Decl = VarDecl::Create(m_ast_source.m_ast_context, 
                                              const_cast<DeclContext*>(m_decl_context),