Files
acceptance-tests
data
debian
docs
external
Newtonsoft.Json
api-doc-tools
api-snapshot
aspnetwebstack
bdwgc
binary-reference-assemblies
bockbuild
boringssl
cecil
cecil-legacy
corefx
corert
helix-binaries
ikdasm
ikvm
illinker-test-assets
linker
llvm-project
clang
clang-tools-extra
compiler-rt
eng
libcxx
libcxxabi
libunwind
lld
lldb
llvm
bindings
cmake
docs
examples
include
lib
projects
resources
runtimes
scripts
test
Analysis
Assembler
Bindings
Bitcode
BugPoint
CodeGen
DebugInfo
Examples
ExecutionEngine
Feature
FileCheck
Instrumentation
Integer
JitListener
LTO
Linker
MC
Object
ObjectYAML
Other
SafepointIRVerifier
SymbolRewriter
TableGen
ThinLTO
Transforms
Unit
Verifier
YAMLParser
tools
dsymutil
gold
llvm-ar
llvm-cfi-verify
llvm-config
llvm-cov
llvm-cvtres
llvm-cxxdump
llvm-cxxfilt
llvm-dlltool
llvm-dwarfdump
llvm-dwp
llvm-extract
llvm-isel-fuzzer
llvm-lib
llvm-lit
llvm-lto
llvm-lto2
llvm-mc
llvm-modextract
llvm-mt
llvm-nm
llvm-objcopy
llvm-objdump
llvm-opt-fuzzer
llvm-opt-report
llvm-pdbdump
llvm-profdata
llvm-rc
llvm-readobj
ARM
Inputs
amdgpu-elf-definitions.test
basic.test
bigobj.test
broken-group.test
codeview-inlinees.test
codeview-inlining.test
codeview-label.test
codeview-linetables.test
codeview-merging-anon.test
codeview-merging-cycle.test
codeview-merging-unsorted.test
codeview-merging.test
codeview-types.test
codeview-vftable.test
coff-arm-baserelocs.test
coff-basereloc.test
coff-const-import.test
coff-debug-directory.test
coff-directives.test
coff-exports-implib.test
coff-exports.test
coff-file-sections-reading.test
coff-load-config.test
coff-needed-libs.test
coff-non-null-terminated-file.test
coff-resources.test
coff-zero-string-table.test
cxx-cli-aux.test
dynamic.test
elf-dtflags.test
elf-gnuhash.test
elf-groups.test
elf-hash-histogram.test
elf-packed-relocs-empty.s
elf-packed-relocs-error1.s
elf-packed-relocs-error2.s
elf-packed-relocs-error3.s
elf-packed-relocs-error4.s
elf-packed-relocs-error5.s
elf-packed-relocs.test
elf-sec-compressed.test
elf-sec-flags.test
elf-versioninfo.test
file-headers.test
gnu-file-headers.test
gnu-notes.test
gnu-phdrs.test
gnu-relocations.test
gnu-sections.test
gnu-symbols.test
imports.test
macho-needed-libs.test
macho-universal-x86_64.i386.test
mips-abiflags.test
mips-got-overlapped.test
mips-got.test
mips-options-sec.test
mips-options.test
mips-plt.test
mips-reginfo.test
mips-rld-map-rel.test
mips-st-other.test
peplus.test
program-headers.test
reloc-types.test
relocations.test
res-resources.test
rpath.test
sections-ext.test
sections.test
symbols.test
wasm-invalid.test
llvm-size
llvm-split
llvm-strings
llvm-symbolizer
llvm-xray
lto
obj2yaml
opt-viewer
sancov
sanstats
yaml2obj
.clang-format
CMakeLists.txt
TestRunner.sh
lit.cfg.py
lit.site.cfg.py.in
tools
unittests
utils
.arcconfig
.clang-format
.clang-tidy
.gitattributes
.gitignore
CMakeLists.txt
CODE_OWNERS.TXT
CREDITS.TXT
LICENSE.TXT
LLVMBuild.txt
README.txt
RELEASE_TESTERS.TXT
configure
llvm.spec.in
version.txt.in
nuget
openmp
polly
Directory.Build.props
Directory.Build.targets
NuGet.config
azure-pipelines.yml
build.cmd
build.sh
dir.common.props
global.json
llvm.proj
mxe-Win64.cmake.in
nuget-buildtasks
nunit-lite
roslyn-binaries
rx
xunit-binaries
how-to-bump-roslyn-binaries.md
ikvm-native
llvm
m4
man
mcs
mono
msvc
netcore
po
runtime
samples
scripts
support
tools
COPYING.LIB
LICENSE
Makefile.am
Makefile.in
NEWS
README.md
acinclude.m4
aclocal.m4
autogen.sh
code_of_conduct.md
compile
config.guess
config.h.in
config.rpath
config.sub
configure.REMOVED.git-id
configure.ac.REMOVED.git-id
depcomp
install-sh
ltmain.sh.REMOVED.git-id
missing
mkinstalldirs
mono-uninstalled.pc.in
test-driver
winconfig.h
linux-packaging-mono/external/llvm-project/llvm/test/tools/llvm-readobj/gnu-notes.test

77 lines
2.8 KiB
Plaintext
Raw Normal View History

# RUN: yaml2obj %s > %t.so
# RUN: llvm-readobj -elf-output-style GNU --notes %t.so | FileCheck %s
# CHECK: Displaying notes found at file offset 0x00000300 with length 0x00000020:
# CHECK: Owner Data size Description
# CHECK: GNU 0x00000010 NT_GNU_BUILD_ID (unique build ID bitstring)
# CHECK: Build ID: 4fcb712aa6387724a9f465a32cd8c14b
# CHECK: Displaying notes found at file offset 0x0000036c with length 0x0000001c:
# CHECK: Owner Data size Description
# CHECK: GNU 0x00000009 NT_GNU_GOLD_VERSION (gold version)
# CHECK: Version: gold 1.11
--- !ELF
FileHeader:
Class: ELFCLASS64
Data: ELFDATA2LSB
Type: ET_EXEC
Machine: EM_X86_64
Sections:
- Name: .note.gnu.build-id
Type: SHT_NOTE
Flags: [ SHF_ALLOC ]
Address: 0x0000000000400120
AddressAlign: 0x0000000000000004
Content: 040000001000000003000000474E55004FCB712AA6387724A9F465A32CD8C14B
- Name: .text
Type: SHT_PROGBITS
Flags: [ SHF_ALLOC, SHF_EXECINSTR ]
Address: 0x0000000000400140
AddressAlign: 0x0000000000000001
Content: 31C0C3
- Name: .eh_frame
Type: SHT_PROGBITS
Flags: [ SHF_ALLOC ]
Address: 0x0000000000400148
AddressAlign: 0x0000000000000008
Content: 1400000000000000017A5200017810011B0C070890010000140000001C000000D8FFFFFF030000000000000000000000
- Name: .data
Type: SHT_PROGBITS
Flags: [ SHF_WRITE, SHF_ALLOC ]
Address: 0x0000000000401000
AddressAlign: 0x0000000000000001
Content: ''
- Name: .bss
Type: SHT_NOBITS
Flags: [ SHF_WRITE, SHF_ALLOC ]
Address: 0x0000000000401000
AddressAlign: 0x0000000000000001
- Name: .comment
Type: SHT_PROGBITS
Flags: [ SHF_MERGE, SHF_STRINGS ]
AddressAlign: 0x0000000000000001
Content: 004743433A2028474E552920352E342E3000
- Name: .note.gnu.gold-version
Type: SHT_NOTE
AddressAlign: 0x0000000000000004
Content: 040000000900000004000000474E5500676F6C6420312E3131000000
Symbols:
Local:
- Name: reduced.c
Type: STT_FILE
- Type: STT_FILE
Global:
- Name: main
Type: STT_FUNC
Section: .text
Value: 0x0000000000400140
Size: 0x0000000000000003
- Name: _edata
Value: 0x0000000000401000
- Name: __bss_start
Value: 0x0000000000401000
- Name: _end
Value: 0x0000000000401000
...