1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-22 18:54:02 +01:00
llvm-mirror/test
Yonghong Song a5ededd556 BPF: remove default .extern data section
Currently, for any extern variable, if it doesn't have
section attribution, it will be put into a default ".extern"
btf DataSec. The initial design is to put every extern
variable in a DataSec so libbpf can use it.

But later on, libbpf actually requires extern variables
to put into special sections, e.g., ".kconfig", ".ksyms", etc.
so they can be used properly based on section name.

Andrii mentioned since ".extern" variables are
not actually used, it makes sense to remove it from
the compiler so libbpf does not need to deal with it,
esp. for static linking. The BTF for these extern variables
is still generated.

With this patch, I tested kernel selftests/bpf and all tests
passed. Indeed, removing ".extern" DataSec seems having no
impact.

Differential Revision: https://reviews.llvm.org/D100392
2021-04-13 11:35:52 -07:00
..
Analysis [MemorySSA] Add test for PR49859. 2021-04-13 10:56:09 -07:00
Assembler
Bindings
Bitcode
BugPoint
CodeGen BPF: remove default .extern data section 2021-04-13 11:35:52 -07:00
DebugInfo Revert "Reapply "[DebugInfo] Use variadic debug values to salvage BinOps and GEP instrs with non-const operands"" 2021-04-12 20:10:17 -07:00
Demangle
Examples
ExecutionEngine
Feature
FileCheck
Instrumentation [SantizerCoverage] handle missing DBG MD when inserting libcalls 2021-04-12 15:55:58 -07:00
Integer
JitListener
Linker
LTO
MachineVerifier
MC [M68k] Implement AsmParser 2021-04-13 09:25:34 +01:00
Object
ObjectYAML
Other Remove a -O2 usage from a CSE specific test file 2021-04-13 10:29:36 -07:00
SafepointIRVerifier
Support
SymbolRewriter
TableGen [TableGen] Fix bug in recent change to ListInit::convertInitListSlice() 2021-04-12 09:44:39 -04:00
ThinLTO/X86 [GlobalOpt] Revert valgrind hacks 2021-04-13 19:11:10 +03:00
tools
Transforms Remove empty test case 2021-04-13 19:17:11 +03:00
Unit
Verifier
YAMLParser
.clang-format
CMakeLists.txt
lit.cfg.py
lit.site.cfg.py.in
TestRunner.sh