llvm-project/llvm/test
Alex Richardson 7dc3136033 [llvm-readobj] Add support for decoding FreeBSD ELF notes
The current support only printed coredump notes, but most binaries also
contain notes. This change adds names for four FreeBSD-specific notes and
pretty-prints three of them:

NT_FREEBSD_ABI_TAG:
This note holds a 32-bit (decimal) integer containing the value of the
__FreeBSD_version macro, which is defined in crt1.o and will hold a value
such as 1300076 for a binary build on a FreeBSD 13 system.

NT_FREEBSD_ARCH_TAG:
A string containing the value of the build-time MACHINE_ARCH

NT_FREEBSD_FEATURE_CTL: A 32-bit flag that indicates to the kernel that
the binary wants certain bevahiour. Examples include setting
NT_FREEBSD_FCTL_ASLR_DISABLE which tells the kernel to disable ASLR.

After this change llvm-readobj also no longer decodes coredump-only
FreeBSD notes in non-coredump files. I've also converted the
note-freebsd.s test to use yaml2obj instead of llvm-mc.

Reviewed By: jhenderson

Differential Revision: https://reviews.llvm.org/D74393
2021-02-09 16:59:22 +00:00
..
Analysis [AssumptionCache] Avoid dangling llvm.assume calls in the cache 2021-02-06 12:18:39 -06:00
Assembler [ThinLTO] Add Visibility bits to GlobalValueSummary::GVFlags 2021-01-27 10:43:51 -08:00
Bindings
Bitcode Revert "[ObjC][ARC] Use operand bundle 'clang.arc.rv' instead of explicitly" 2021-02-09 11:06:32 -05:00
BugPoint
CodeGen Revert "[ObjC][ARC] Use operand bundle 'clang.arc.rv' instead of explicitly" 2021-02-09 11:06:32 -05:00
DebugInfo Revert "[DebugInfo] Re-engineer a test to be stricter, add XFails" 2021-02-09 10:02:10 +00:00
Demangle [Demangle] Support demangling Swift calling convention in MS demangler. 2021-01-27 13:24:54 -08:00
Examples [test][NewPM] Pin various tests to the legacy PM 2021-02-02 15:07:10 -08:00
ExecutionEngine Revert "[JITLink] Add missing symbols for ELF ehframe testcase, re-enable ...." 2021-02-01 13:32:11 +11:00
Feature [test][NewPM] Pin various tests to the legacy PM 2021-02-02 15:07:10 -08:00
FileCheck [FileCheck] Default --allow-unused-prefixes to false 2021-02-08 13:37:04 -08:00
Instrumentation Revert "[InstrProfiling] Use !associated metadata for counters, data and values" 2021-02-03 19:14:34 -05:00
Integer
JitListener
LTO Revert "[LTO] Use lto::backend for code generation." 2021-02-03 22:49:30 +00:00
Linker [llvm-link] Fix crash when materializing appending global 2021-01-25 18:08:07 -08:00
MC [AVR] Fix global references to function symbols 2021-02-10 00:40:49 +13:00
MachineVerifier [GlobalISel] Add G_ASSERT_ZEXT 2021-01-28 13:58:37 -08:00
Object [test] Use host platform specific error message substitution in lit tests 2021-01-29 07:16:30 -05:00
ObjectYAML [yaml2obj][wasm] Support numeric relocation type 2021-02-02 18:28:37 -08:00
Other [FileCheck] Default --allow-unused-prefixes to false 2021-02-08 13:37:04 -08:00
Reduce [FileCheck] Default --allow-unused-prefixes to false 2021-02-08 13:37:04 -08:00
SafepointIRVerifier
Support
SymbolRewriter
TableGen [TableGen] Fix anonymous record self-reference in foreach and multiclass 2021-02-01 10:59:07 -05:00
ThinLTO/X86 [ThinLTO] Add Visibility bits to GlobalValueSummary::GVFlags 2021-01-27 10:43:51 -08:00
Transforms Revert "[ObjC][ARC] Use operand bundle 'clang.arc.rv' instead of explicitly" 2021-02-09 11:06:32 -05:00
Unit
Verifier Have stripDebugInfo() also strip !llvm.loop annotations from all 2021-02-05 17:22:41 -08:00
YAMLParser
tools [llvm-readobj] Add support for decoding FreeBSD ELF notes 2021-02-09 16:59:22 +00:00
.clang-format
CMakeLists.txt
TestRunner.sh
lit.cfg.py [FileCheck] Default --allow-unused-prefixes to false 2021-02-08 13:37:04 -08:00
lit.site.cfg.py.in