summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
diff options
context:
space:
mode:
authorIlya Leoshkevich <iii@linux.ibm.com>2020-07-30 20:08:08 +0200
committerIlya Leoshkevich <iii@linux.ibm.com>2020-08-04 21:53:27 +0200
commit153df1373e5d3e0f16464233a3c17feb8a9eb3e9 (patch)
tree6ca892fd682fab5c4633e86bd5cd484e2d3afe0d /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
parenta4e537d9c47aa378a24636e2d90d208389ad93ab (diff)
[SanitizerCoverage] Fix types of __stop* and __start* symbols
If a section is supposed to hold elements of type T, then the corresponding CreateSecStartEnd()'s Ty parameter represents T*. Forwarding it to GlobalVariable constructor causes the resulting GlobalVariable's type to be T*, and its SSA value type to be T**, which is one indirection too many. This issue is mostly masked by pointer casts, however, the global variable still gets an incorrect alignment, which causes SystemZ to choose wrong instructions to access the section.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp')
0 files changed, 0 insertions, 0 deletions