diff options
author | Michael Buch <michaelbuch12@gmail.com> | 2024-05-13 18:47:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-13 18:47:39 +0100 |
commit | 276c0bd4b386cc6b9d91e5e44ca7b053c11f13b5 (patch) | |
tree | 9f715c0c994d5355b0e15ca34666956b584261da /llvm/lib/IR/Module.cpp | |
parent | 81f34afa5c39584c2721000e2bcf3b8ec02a4f4d (diff) | |
download | llvm-276c0bd4b386cc6b9d91e5e44ca7b053c11f13b5.zip llvm-276c0bd4b386cc6b9d91e5e44ca7b053c11f13b5.tar.gz llvm-276c0bd4b386cc6b9d91e5e44ca7b053c11f13b5.tar.bz2 |
[lldb][ExpressionParser][NFCI] Log pointers as hex (#91989)
This ensures that we log pointers as lower-case hex. E.g., instead of:
```
LayoutRecordType on (ASTContext*)0x000000010E78D600 'scratch ASTContext' for (RecordDecl*)0x000000010E797
```
we now log:
```
LayoutRecordType on (ASTContext*)0x000000010e78d600 'scratch ASTContext' for (RecordDecl*)0x000000010e797
```
Which is consistent with how the AST dump gets emitted into the log.
This makes it easier to correlate pointers we log from LLDB and pointers
that are part of any AST dumps in the same `expr` log.
Diffstat (limited to 'llvm/lib/IR/Module.cpp')
0 files changed, 0 insertions, 0 deletions