summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/value/main.c
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2017-02-28 01:56:36 +0000
committerRui Ueyama <ruiu@google.com>2017-02-28 01:56:36 +0000
commit1f03253767a874a9a2affc9af8a29cf387ffb638 (patch)
tree3c1e63ebf99e5068cc11476801d431a0e5eb4f4e /lldb/packages/Python/lldbsuite/test/python_api/value/main.c
parent00355a51d083cf3699de931d4cbbad0f8d5aafd5 (diff)
downloadbcm5719-llvm-1f03253767a874a9a2affc9af8a29cf387ffb638.tar.gz
bcm5719-llvm-1f03253767a874a9a2affc9af8a29cf387ffb638.zip
Improve SymbolTableSection synthetic section.
The previous code was a bit hard to understand because it unnecessarily distinguished local and non-local symbols. It had NumLocals member variable, but that variable didn't have a number of local symbols but had some value that I cannot describe easily. This patch rewrites SynbolTableSection::finalizeContents and SymbolTableSection::writeTo to make it easy to understand. NumLocals member variable has been removed, and writeGlobalSymbols and writeLocalSymbols have been merged into one function. There's still a piece of code that I think unnecessary. I'm not removing that code in this patch, but will do in a follow-up patch. llvm-svn: 296423
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/value/main.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud