llvm-project/lldb/source/Expression
Greg Clayton 358cf1ea30 Resubmitting 240466 after fixing the linux test suite failures.
A few extras were fixed

- Symbol::GetAddress() now returns an Address object, not a reference. There were places where people were accessing the address of a symbol when the symbol's value wasn't an address symbol. On MacOSX, undefined symbols have a value zero and some places where using the symbol's address and getting an absolute address of zero (since an Address object with no section and an m_offset whose value isn't LLDB_INVALID_ADDRESS is considered an absolute address). So fixing this required some changes to make sure people were getting what they expected. 
- Since some places want to access the address as a reference, I added a few new functions to symbol:
    Address &Symbol::GetAddressRef();
    const Address &Symbol::GetAddressRef() const;

Linux test suite passes just fine now.

<rdar://problem/21494354>

llvm-svn: 240702
2015-06-25 21:46:34 +00:00
..
ASTDumper.cpp Revert "Introduce a TypeSystem interface to support adding non-clang languages." 2015-06-08 23:38:06 +00:00
ASTResultSynthesizer.cpp In commit clang r226096, DefinitionRequired has been removed. Do the same in lldb implementation 2015-01-15 11:50:50 +00:00
ASTStructExtractor.cpp In commit clang r226096, DefinitionRequired has been removed. Do the same in lldb implementation 2015-01-15 11:50:50 +00:00
CMakeLists.txt Added CMake support so all the Clang modules code 2014-12-05 01:31:55 +00:00
ClangASTSource.cpp Revert "Introduce a TypeSystem interface to support adding non-clang languages." 2015-06-08 23:38:06 +00:00
ClangExpressionDeclMap.cpp Resubmitting 240466 after fixing the linux test suite failures. 2015-06-25 21:46:34 +00:00
ClangExpressionParser.cpp Don't #include "lldb-python.h" from anywhere. 2015-05-29 17:41:47 +00:00
ClangExpressionVariable.cpp Add the ability for an SBValue to create a persisted version of itself. 2014-12-08 23:13:56 +00:00
ClangFunction.cpp ClangFunction: Fix destruction order of parser and execution unit 2014-12-10 04:59:18 +00:00
ClangModulesDeclVendor.cpp Updated our use of clang::Preprocessor to reflect 2015-05-01 00:19:44 +00:00
ClangPersistentVariables.cpp I have brought LLDB up-to-date with top of tree 2012-02-04 08:49:35 +00:00
ClangUserExpression.cpp Revert "Introduce a TypeSystem interface to support adding non-clang languages." 2015-06-08 23:38:06 +00:00
ClangUtilityFunction.cpp Reverse out r219169 related to quote handling. 2014-10-10 01:11:39 +00:00
DWARFExpression.cpp Move lldb-log.cpp to core/Logging.cpp 2015-03-18 18:20:42 +00:00
ExpressionSourceCode.cpp Made macros from modules be injected before our 2015-04-30 21:49:58 +00:00
IRDynamicChecks.cpp Revert "Update for LLVM API change in r221024" 2014-11-12 01:59:53 +00:00
IRExecutionUnit.cpp Resubmitting 240466 after fixing the linux test suite failures. 2015-06-25 21:46:34 +00:00
IRForTarget.cpp Fix a variety of typos. 2015-06-18 05:27:05 +00:00
IRInterpreter.cpp remove trailing whitespace + remove some useless comments 2014-07-06 17:54:58 +00:00
IRMemoryMap.cpp Dont' use a random probe & alloc strategy for the IRMemoryMap. 2014-07-09 16:42:27 +00:00
Makefile remove trailing whitespace + remove some useless comments 2014-07-06 17:54:58 +00:00
Materializer.cpp Resubmitting 240466 after fixing the linux test suite failures. 2015-06-25 21:46:34 +00:00