[all-commits] [llvm/llvm-project] 73df82: [MTE] Add NT_ANDROID_TYPE_MEMTAG
Mitch Phillips via All-commits
all-commits at lists.llvm.org
Mon Mar 7 11:29:16 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 73df82572af394667ef38a7492634de84ced2aaf
https://github.com/llvm/llvm-project/commit/73df82572af394667ef38a7492634de84ced2aaf
Author: Mitch Phillips <31459023+hctim at users.noreply.github.com>
Date: 2022-03-07 (Mon, 07 Mar 2022)
Changed paths:
M llvm/include/llvm/BinaryFormat/ELF.h
M llvm/lib/ObjectYAML/ELFYAML.cpp
A llvm/test/tools/llvm-readobj/ELF/AArch64/note-android-memtag.test
A llvm/test/tools/llvm-readobj/ELF/AArch64/note-android-unknown.test
M llvm/tools/llvm-readobj/ELFDumper.cpp
Log Message:
-----------
[MTE] Add NT_ANDROID_TYPE_MEMTAG
This ELF note is aarch64 and Android-specific. It specifies to the
dynamic loader that specific work should be scheduled to enable MTE
protection of stack and heap regions.
Current synthesis of the ".note.android.memtag" ELF note is done in the
Android build system. We'd like to move that to the compiler, and this
is the first step.
Reviewed By: MaskRay, jhenderson
Differential Revision: https://reviews.llvm.org/D119381
More information about the All-commits
mailing list