diff options
author | Felipe de Azevedo Piovezan <fpiovezan@apple.com> | 2023-10-03 09:55:38 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-03 09:55:38 -0700 |
commit | 5064ca8b591315b628120f67de0411f8e20f2e8f (patch) | |
tree | 37454b490a8a60a7ed0d6fb0278daf59a4a9ec7a /lldb/packages/Python/lldbsuite/test/configuration.py | |
parent | 18c3c46858c3a40f60f0f7cd74eff5e282c8813b (diff) | |
download | llvm-5064ca8b591315b628120f67de0411f8e20f2e8f.zip llvm-5064ca8b591315b628120f67de0411f8e20f2e8f.tar.gz llvm-5064ca8b591315b628120f67de0411f8e20f2e8f.tar.bz2 |
[CodeExtractor] Consider Value arguments of dbg.assign (#67987)
Currently, the code extractor functionality deletes a debug intrinsic if
its "Location" argument is not part of the extracted function. The
location is the first argument (or the first few arguments in case of a
DIArgList) of all debug intrinsics.
However, according to the docs, the signature of dbg.assign is:
```
void @llvm.dbg.assign(Value *Value,
DIExpression *ValueExpression,
DILocalVariable *Variable,
DIAssignID *ID,
Value *Address,
DIExpression *AddressExpression)
```
That is, there are two `Value` arguments to it: the usual location
argument and an "Address" argument. This Address argument should also
receive the same treatment.
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/configuration.py')
0 files changed, 0 insertions, 0 deletions