summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api
diff options
context:
space:
mode:
authorFangrui Song <maskray@google.com>2019-08-14 01:52:47 +0000
committerFangrui Song <maskray@google.com>2019-08-14 01:52:47 +0000
commitf1d538cce54b4a2ae06b07cf5323b0137f5385d3 (patch)
tree5c10ef2b4bd53df00f8cce38c3c20b8fc31f9f11 /lldb/packages/Python/lldbsuite/test/python_api
parentcee41ce223c7e5bd1a52a74e37d79bbbc785cf0a (diff)
downloadbcm5719-llvm-f1d538cce54b4a2ae06b07cf5323b0137f5385d3.tar.gz
bcm5719-llvm-f1d538cce54b4a2ae06b07cf5323b0137f5385d3.zip
[ELF] Initialize 2 fields of Symbol in SymbolTable::insert
A new symbol is added to elf::symtab in 3 steps: 1) SymbolTable::insert creates a placeholder. 2) Symbol::mergeProperties 3) Symbol::replace Fields referenced by steps 2) and 3) should be initialized in SymbolTable::insert. `traced` and `referenced` were missed previously. This did not cause problems because compilers generated code that initialized them (bit fields) to 0. Reviewed By: grimar Differential Revision: https://reviews.llvm.org/D66130 llvm-svn: 368784
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud