[all-commits] [llvm/llvm-project] a4d39d: [llvm-readobj] Add --memtag

Mitch Phillips via All-commits all-commits at lists.llvm.org
Wed Mar 1 11:00:27 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a4d39d4b69b265ee41b08cd04f5292e3ddb31aeb
      https://github.com/llvm/llvm-project/commit/a4d39d4b69b265ee41b08cd04f5292e3ddb31aeb
  Author: Mitch Phillips <31459023+hctim at users.noreply.github.com>
  Date:   2023-03-01 (Wed, 01 Mar 2023)

  Changed paths:
    M llvm/docs/CommandGuide/llvm-readelf.rst
    M llvm/docs/CommandGuide/llvm-readobj.rst
    M llvm/include/llvm/BinaryFormat/DynamicTags.def
    A llvm/test/tools/llvm-readobj/ELF/AArch64/memtag.test
    R llvm/test/tools/llvm-readobj/ELF/AArch64/note-android-memtag.test
    M llvm/tools/llvm-readobj/ELFDumper.cpp
    M llvm/tools/llvm-readobj/ObjDumper.h
    M llvm/tools/llvm-readobj/Opts.td
    M llvm/tools/llvm-readobj/llvm-readobj.cpp

  Log Message:
  -----------
  [llvm-readobj] Add --memtag

This adds functionality to readelf/readobj to specifically handle
MTE-related bits, like the AARCH64_MEMTAG_* dynamic entries, and a
decoder for the Android-specific ELF note.

Reviewed By: jhenderson, MaskRay

Differential Revision: https://reviews.llvm.org/D143693




More information about the All-commits mailing list