forked from OSchip/llvm-project
[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> llvm-svn: 342556
This commit is contained in:
parent
8b6c314be1
commit
5b476c5a9f
|
@ -30,8 +30,8 @@ public:
|
|||
WeakRefDirective = "\t.weak\t";
|
||||
|
||||
UsesELFSectionDirectiveForBSS = true;
|
||||
HasSingleParameterDotFile = false;
|
||||
HasDotTypeDotSizeDirective = false;
|
||||
HasSingleParameterDotFile = true;
|
||||
HasDotTypeDotSizeDirective = true;
|
||||
|
||||
SupportsDebugInformation = true;
|
||||
ExceptionsType = ExceptionHandling::DwarfCFI;
|
||||
|
|
Loading…
Reference in New Issue