Outputs readable addresses by printed 'TargetAddress' as an uint64_t
value.
bl -0x37efd56628 => bl 0xffffffc8102a99d8
Paths
| Differential D137260
[AArch64InstPrinter] Print TargetAddress as an uint64_t ClosedPublic Authored by holio0 on Nov 2 2022, 8:35 AM.
Details Summary Outputs readable addresses by printed 'TargetAddress' as an uint64_t bl -0x37efd56628 => bl 0xffffffc8102a99d8
Diff Detail
Event TimelineComment Actions [AArch64InstPrinter] Print TargetAddress as an uint64_t Outputs readable addresses by printed 'TargetAddress' as an uint64_t bl -0x37efd56628 => bl 0xffffffc8102a99d8 Differential Revision: https://reviews.llvm.org/D137260 Comment Actions
No problem, I will study it. Comment Actions Thanks. I was expecting a test using objdump or llc, but the new test looks good. It may be possible to replace StringStream, but otherwise LGTM.
This revision is now accepted and ready to land.Nov 8 2022, 2:10 AM Closed by commit rG409eaff5dd55: [AArch64InstPrinter] Print TargetAddress as an uint64_t (authored by Woody Lin <woodylin@google.com>). · Explain WhyNov 15 2022, 9:34 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 473868 llvm/lib/Target/AArch64/MCTargetDesc/AArch64InstPrinter.cpp
llvm/unittests/Target/AArch64/AArch64InstPrinterTest.cpp
llvm/unittests/Target/AArch64/CMakeLists.txt
llvm/utils/gn/secondary/llvm/unittests/Target/AArch64/BUILD.gn
|
Could this use raw_string_ostream?