Author: Dmitri Gribenko Date: 2022-07-25T16:58:03+02:00 New Revision: 82d4f39f342165a92eaa1fe74488158942cf27b4
URL: https://github.com/llvm/llvm-project/commit/82d4f39f342165a92eaa1fe74488158942cf27b4 DIFF: https://github.com/llvm/llvm-project/commit/82d4f39f342165a92eaa1fe74488158942cf27b4.diff LOG: [lldb][AArch64] Fix an unused variable warning in release builds. NFC Added: Modified: lldb/source/Plugins/Process/Utility/MemoryTagManagerAArch64MTE.cpp Removed: ################################################################################ diff --git a/lldb/source/Plugins/Process/Utility/MemoryTagManagerAArch64MTE.cpp b/lldb/source/Plugins/Process/Utility/MemoryTagManagerAArch64MTE.cpp index e0126d840971..dbd36fbcb212 100644 --- a/lldb/source/Plugins/Process/Utility/MemoryTagManagerAArch64MTE.cpp +++ b/lldb/source/Plugins/Process/Utility/MemoryTagManagerAArch64MTE.cpp @@ -290,6 +290,7 @@ MemoryTagManagerAArch64MTE::UnpackTagsFromCoreFileSegment( const size_t bytes_copied = reader(tag_segment_data_address + file_offset_in_bytes, tag_bytes_to_read, tag_data.data()); + (void)bytes_copied; assert(bytes_copied == tag_bytes_to_read); std::vector<lldb::addr_t> tags; _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits