Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
st_size may not be of importance to the abi if you are not using copy relocations. This is helpful when you want to check the abi of a shared object both when instrumented and not because asan will increase the size of objects to include the redzone. Differential revision: https://reviews.llvm.org/D124792
- Loading branch information
Showing
7 changed files
with
49 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# RUN: llvm-ifs %s --output-ifs - --strip-size | FileCheck %s | ||
|
||
# CHECK: Symbols: | ||
# CHECK-NEXT: - { Name: sym, Type: Object } | ||
# CHECK-NEXT: ... | ||
|
||
## Check that the size when emitting to elf defaults to 1. | ||
# RUN: llvm-ifs %s --output-elf - --strip-size | llvm-ifs - --output-ifs - | \ | ||
# RUN: FileCheck %s --check-prefix=ELF | ||
|
||
# ELF: Symbols: | ||
# ELF-NEXT: - { Name: sym, Type: Object, Size: 0 } | ||
# ELF-NEXT: ... | ||
|
||
--- !ifs-v1 | ||
IfsVersion: 3.0 | ||
Target: x86_64 | ||
Symbols: | ||
- { Name: sym, Type: Object, Size: 2 } | ||
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters