| /llvm-project-15.0.7/llvm/test/tools/llvm-ifs/ |
| H A D | func.ifs | 2 # RUN: FileCheck %s --check-prefixes=CHECK-IFS 12 # RUN: FileCheck %s --check-prefixes=CHECK-MERGE-IFS 14 # CHECK-IFS: --- !ifs-v1 15 # CHECK-IFS-NEXT: IfsVersion: 3.0 17 # CHECK-IFS-NEXT: Symbols: 18 # CHECK-IFS-DAG: - { Name: a, Type: Func } 20 # CHECK-IFS: ... 42 # CHECK-MERGE-IFS: --- !ifs-v1 43 # CHECK-MERGE-IFS-NEXT: IfsVersion: 3.0 45 # CHECK-MERGE-IFS-NEXT: Symbols: [all …]
|
| H A D | object-function-size-weak-combo.ifs | 2 # RUN: FileCheck %s --check-prefixes=CHECK-IFS 7 # CHECK-IFS: --- !ifs-v1 8 # CHECK-IFS-NEXT: IfsVersion: 3.0 9 # CHECK-IFS-NEXT: Target: x86_64-unknown-linux-gnu 10 # CHECK-IFS-NEXT: Symbols: 11 # CHECK-IFS-DAG: - { Name: e, Type: Object, Size: 8 } 12 # CHECK-IFS-DAG: - { Name: a, Type: Func } 13 # CHECK-IFS-DAG: - { Name: f, Type: Object, Size: 2 } 14 # CHECK-IFS-DAG: - { Name: _Z10strongFuncv, Type: Func } 16 # CHECK-IFS-DAG: - { Name: b, Type: Object, Size: 4 } [all …]
|
| H A D | weak.ifs | 1 # RUN: llvm-ifs --input-format=IFS --output-ifs - %s | FileCheck %s --check-prefixes=CHECK-IFS 3 # CHECK-IFS: --- !ifs-v1 4 # CHECK-IFS-NEXT: IfsVersion: 3.0 5 # CHECK-IFS-NEXT: Target: x86_64-unknown-linux-gnu 6 # CHECK-IFS-NEXT: Symbols: 7 # CHECK-IFS-DAG: - { Name: _Z8weakFuncv, Type: Func, Weak: true } 8 # CHECK-IFS-DAG: - { Name: _Z10strongFuncv, Type: Func } 9 # CHECK-IFS: ...
|
| H A D | strong.ifs | 1 # RUN: llvm-ifs --input-format=IFS --output-ifs - %s %S/strong.ifs | FileCheck %s --check-prefixes=… 3 # CHECK-IFS: --- !ifs-v1 4 # CHECK-IFS-NEXT: IfsVersion: 3.0 5 # CHECK-IFS-NEXT: Target: x86_64-unknown-linux-gnu 6 # CHECK-IFS-NEXT: Symbols: 7 # CHECK-IFS-DAG: - { Name: _Z8weakFuncv, Type: Func } 8 # CHECK-IFS: ...
|
| H A D | object.ifs | 1 # RUN: llvm-ifs --input-format=IFS --output-ifs - %s | \ 2 # RUN: FileCheck %s --check-prefixes=CHECK-IFS 4 # RUN: llvm-ifs --input-format=IFS --output-elf - %s | \ 7 # CHECK-IFS: --- !ifs-v1 8 # CHECK-IFS-NEXT: IfsVersion: 3.0 9 # CHECK-IFS-NEXT: Target: x86_64-unknown-linux-gnu 10 # CHECK-IFS-NEXT: Symbols: 11 # CHECK-IFS-NEXT: - { Name: b, Type: Object, Size: 4 } 12 # CHECK-IFS-NEXT: ...
|
| H A D | conflict-size.ifs | 1 # RUN: not llvm-ifs --input-format=IFS --output-ifs - %s %S/object.ifs 2>&1 | \ 2 # RUN: FileCheck %s --check-prefixes=CHECK-IFS 6 # CHECK-IFS: error: Interface Stub: Size Mismatch for b. 7 # CHECK-IFS-NEXT: Filename: 8 # CHECK-IFS-NEXT: Size Values: 1 4
|
| H A D | conflict-type.ifs | 1 # RUN: not llvm-ifs --input-format=IFS --output-ifs - %s %S/func.ifs 2>&1 | \ 2 # RUN: FileCheck %s --check-prefixes=CHECK-IFS 6 # CHECK-IFS: error: Interface Stub: Type Mismatch for a. 7 # CHECK-IFS-NEXT: Filename: 8 # CHECK-IFS-NEXT: Type Values: Object Func
|
| H A D | conflict-header-triple.ifs | 1 # RUN: not llvm-ifs --input-format=IFS --output-ifs - %s %S/object.ifs 2>&1 | \ 2 # RUN: FileCheck %s --check-prefixes=CHECK-IFS 4 # CHECK-IFS: error: Interface Stub: Target Mismatch. 5 # CHECK-IFS-NEXT: Filenames:
|
| H A D | conflict-weak.ifs | 1 # RUN: llvm-ifs --input-format=IFS --output-ifs - %s %S/func.ifs 2>&1 | \ 2 # RUN: FileCheck %s --check-prefixes=CHECK-IFS 4 # CHECK-IFS: Symbols: 5 # CHECK-IFS-NEXT: - { Name: a, Type: Func, Weak: true }
|
| H A D | conflict-header-version.ifs | 1 # RUN: not llvm-ifs --input-format=IFS --output-ifs - %s %S/object.ifs 2>&1 | \ 2 # RUN: FileCheck %s --check-prefixes=CHECK-IFS 4 # RUN: not llvm-ifs --input-format=IFS --output-ifs - %s 2>&1 | \ 7 # CHECK-IFS: error: Interface Stub: IfsVersion Mismatch.
|
| H A D | strip-needed.test | 3 # RUN: llvm-ifs --input-format=IFS --strip-needed --output-ifs=- %s | FileCheck %s 5 # RUN: llvm-ifs --input-format=IFS --output-elf=- %s | \ 8 # RUN: llvm-ifs --input-format=IFS --strip-needed --output-elf=- %s | \
|
| H A D | exclude.test | 3 # RUN: llvm-ifs --input-format=IFS --output-ifs=- --exclude='exclude*' %s | FileCheck %s 8 # RUN: llvm-ifs --input-format=IFS --output-ifs=- --exclude='exclude*' \ 11 # RUN: not llvm-ifs --input-format=IFS --output-ifs=- --exclude='[' %s 2>&1 | \
|
| H A D | output-format-deprecation.test | 3 # RUN: llvm-ifs --output-format=IFS --output=%t %s 2>&1 | FileCheck %s --check-prefix=WARNING 4 # RUN: not llvm-ifs --output-format=IFS --output=%t --output-ifs=%t %s 2>&1 | FileCheck %s --check…
|
| H A D | default-empty.ifs | 1 # RUN: llvm-ifs --input-format=IFS --output-ifs - %s | FileCheck --check-prefixes=CHECK-DEFAULT %s 2 # RUN: llvm-ifs --input-format=IFS --output-ifs - %S/weak.ifs %s | FileCheck --check-prefixes=CHECK…
|
| H A D | weak-mismatch.ifs | 1 # RUN: not llvm-ifs --input-format=IFS --output-ifs - %s %S/Inputs/strong-mismatch-size.ifs 2>&1 | … 2 # RUN: not llvm-ifs --input-format=IFS --output-ifs - %s %S/Inputs/strong-mismatch-type.ifs 2>&1 | …
|
| H A D | ifs-elf-conversion.test | 1 ## Test writing stub ELF from IFS and read stub ELF to regenerate IFS.
|
| H A D | version-ok.ifs | 1 # RUN: llvm-ifs --input-format=IFS --output-ifs - %s %S/object.ifs
|
| H A D | empty1.ifs | 1 # RUN: llvm-ifs --input-format=IFS --output-ifs - %s | FileCheck %s
|
| /llvm-project-15.0.7/clang/test/InterfaceStubs/ |
| H A D | func.ifs | 2 # RUN: FileCheck %s --check-prefixes=CHECK-IFS 10 # CHECK-IFS: --- !ifs-v1 11 # CHECK-IFS-NEXT: IfsVersion: 3.0 12 # CHECK-IFS-NEXT: Target: x86_64-linux-gnu 13 # CHECK-IFS-NEXT: Symbols: 14 # CHECK-IFS-DAG: - { Name: a, Type: Func } 16 # CHECK-IFS: ... 25 # CHECK-MERGE-IFS: --- !ifs-v1 26 # CHECK-MERGE-IFS-NEXT: IfsVersion: 3.0 28 # CHECK-MERGE-IFS-NEXT: Symbols: [all …]
|
| H A D | object.ifs | 2 # RUN: FileCheck %s --check-prefixes=CHECK-IFS 7 # CHECK-IFS: --- !ifs-v1 8 # CHECK-IFS-NEXT: IfsVersion: 3.0 9 # CHECK-IFS-NEXT: Target: x86_64-linux-gnu 10 # CHECK-IFS-NEXT: Symbols: 11 # CHECK-IFS-NEXT: - { Name: b, Type: Object, Size: 4 } 12 # CHECK-IFS-NEXT: ...
|
| H A D | conflict-type.ifs | 2 # RUN: FileCheck %s --check-prefixes=CHECK-IFS 6 # CHECK-IFS: error: Interface Stub: Type Mismatch for a. 7 # CHECK-IFS-NEXT: Filename: 8 # CHECK-IFS-NEXT: Type Values: Object Func
|
| /llvm-project-15.0.7/llvm/docs/CommandGuide/ |
| H A D | llvm-ifs.rst | 22 IFS FORMATS 25 Here is an example of the text representation (IFS) of a shared object produced 45 * ``IFSVersion``: Version of the IFS file for reader compatibility. 110 .. option:: --input-format=[IFS|ELF|OtherObjectFileFormats] 112 Specify input file format. Currently, only text IFS files and ELF shared 122 Specify the output file for text IFS. 130 This flag is optional and it should only be used when reading an IFS file 138 This flag is optional and it should only be used when reading an IFS file 140 the output file. If the value is conflicting with the IFS file, an error 152 This flag is optional and should only be used when reading an IFS file [all …]
|
| /llvm-project-15.0.7/llvm/tools/llvm-ifs/ |
| H A D | Opts.td | 17 …<"hint-ifs-target", "When --output-format is 'IFS', this flag will hint the expected target triple… 24 defm output_ifs : Eq<"output-ifs", "Output path for IFS file">; 27 def strip_ifs_arch : FF<"strip-ifs-arch", "Strip target architecture information away from IFS outp… 28 def strip_ifs_bitwidth : FF<"strip-ifs-bitwidth", "Strip target bit width information away from IFS… 29 …ndianness : FF<"strip-ifs-endianness", "Strip target endianness information away from IFS output">; 30 def strip_ifs_target : FF<"strip-ifs-target", "Strip all target information away from IFS output">; 33 def strip_undefined : FF<"strip-undefined", "Strip undefined symbols from IFS output">;
|
| H A D | llvm-ifs.cpp | 49 enum class FileFormat { IFS, ELF, TBD }; enumerator 156 if (!InputFormat || *InputFormat == FileFormat::IFS) { in readInputFile() 160 InputFormat = FileFormat::IFS; in readInputFile() 309 .Case("IFS", FileFormat::IFS) in parseArgs() 322 .Case("IFS", FileFormat::IFS) in parseArgs() 387 Config.InputFormat = FileFormat::IFS; in main() 539 case FileFormat::IFS: { in main()
|
| /llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/tests/ |
| H A D | common_test.cpp | 23 std::ifstream IFS("/proc/self/statm"); in getResidentMemorySize() local 24 IFS >> Size; in getResidentMemorySize() 25 IFS >> Resident; in getResidentMemorySize()
|