llvm.org GIT mirror llvm / bf6ec20
[bpf] Symbol sizes and types in object file Clang-compiled object files currently don't include the symbol sizes and types. Some tools however need that information. For example, ctfconvert uses that information to generate FreeBSD's CTF representation from ELF files. With this patch, symbol sizes and types are included in object files. Signed-off-by: Paul Chaignon <paul.chaignon@orange.com> Reported-by: Yutaro Hayakawa <yhayakawa3720@gmail.com> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@342556 91177308-0d34-0410-b5e6-96231b3b80d8 Yonghong Song 1 year, 9 months ago
1 changed file(s) with 2 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
2929 WeakRefDirective = "\t.weak\t";
3030
3131 UsesELFSectionDirectiveForBSS = true;
32 HasSingleParameterDotFile = false;
33 HasDotTypeDotSizeDirective = false;
32 HasSingleParameterDotFile = true;
33 HasDotTypeDotSizeDirective = true;
3434
3535 SupportsDebugInformation = true;
3636 ExceptionsType = ExceptionHandling::DwarfCFI;