diff options
author | Bill Wendling <isanbard@gmail.com> | 2012-05-25 23:55:00 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2012-05-25 23:55:00 +0000 |
commit | 8ed0749a34df1b9a8c1514e44247988f579bfba8 (patch) | |
tree | b1df953c430d0f51683305ba735baa4ed8ba99c7 /lldb/scripts/Python/modify-python-lldb.py | |
parent | 5cec9007bb929eac4b2f5f6b33f2d478360360d2 (diff) | |
download | llvm-8ed0749a34df1b9a8c1514e44247988f579bfba8.zip llvm-8ed0749a34df1b9a8c1514e44247988f579bfba8.tar.gz llvm-8ed0749a34df1b9a8c1514e44247988f579bfba8.tar.bz2 |
The llvm_gcda_increment_indirect_counter function writes to the arguments that
are passed in. However, those arguments may be in a write-protected area, as far
as the runtime library is concerned. For instance, the data could be placed into
a 'linkedit' section, which isn't writable. Emit the code from
llvm_gcda_increment_indirect_counter directly into the function instead.
Note: The code for this is ugly, and can lead to bloat. We should look into
simplifying this code instead of having all of these branches.
<rdar://problem/11181370>
llvm-svn: 157505
Diffstat (limited to 'lldb/scripts/Python/modify-python-lldb.py')
0 files changed, 0 insertions, 0 deletions