]> granicus.if.org Git - llvm/commit
Add support for the new LC_NOTE load command.
authorKevin Enderby <enderby@apple.com>
Thu, 19 Jan 2017 17:36:31 +0000 (17:36 +0000)
committerKevin Enderby <enderby@apple.com>
Thu, 19 Jan 2017 17:36:31 +0000 (17:36 +0000)
commit045015ed1fa1d6f64254bb92fe215929a3e537a9
treef231987b04bfcc67fed66b034248c7240b114ced
parent2d628eed7f2aa1a4a32a24f0422e267fb074e2d0
Add support for the new LC_NOTE load command.

It describes a region of arbitrary data included in a Mach-O file.
Its initial use is to record extra data in MH_CORE files.

rdar://30001545
rdar://30001731

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@292500 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Object/MachO.h
include/llvm/Support/MachO.def
include/llvm/Support/MachO.h
lib/Object/MachOObjectFile.cpp
lib/ObjectYAML/MachOYAML.cpp
test/Object/Inputs/macho-invalid-note [new file with mode: 0644]
test/Object/macho-invalid.test
test/ObjectYAML/MachO/note_command.yaml [new file with mode: 0644]
test/tools/llvm-objdump/X86/Inputs/note.macho-x86 [new file with mode: 0644]
test/tools/llvm-objdump/X86/macho-private-headers.test
tools/llvm-objdump/MachODump.cpp