Home
last modified time | relevance | path

Searched refs:IFS (Results 1 – 25 of 35) sorted by relevance

12

/llvm-project-15.0.7/llvm/test/tools/llvm-ifs/
H A Dfunc.ifs2 # 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 Dobject-function-size-weak-combo.ifs2 # 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 Dweak.ifs1 # 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 Dstrong.ifs1 # 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 Dobject.ifs1 # 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 Dconflict-size.ifs1 # 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 Dconflict-type.ifs1 # 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 Dconflict-header-triple.ifs1 # 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 Dconflict-weak.ifs1 # 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 Dconflict-header-version.ifs1 # 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 Dstrip-needed.test3 # 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 Dexclude.test3 # 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 Doutput-format-deprecation.test3 # 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 Ddefault-empty.ifs1 # 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 Dweak-mismatch.ifs1 # 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 Difs-elf-conversion.test1 ## Test writing stub ELF from IFS and read stub ELF to regenerate IFS.
H A Dversion-ok.ifs1 # RUN: llvm-ifs --input-format=IFS --output-ifs - %s %S/object.ifs
H A Dempty1.ifs1 # RUN: llvm-ifs --input-format=IFS --output-ifs - %s | FileCheck %s
/llvm-project-15.0.7/clang/test/InterfaceStubs/
H A Dfunc.ifs2 # 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 Dobject.ifs2 # 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 Dconflict-type.ifs2 # 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 Dllvm-ifs.rst22 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 DOpts.td17 …<"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 Dllvm-ifs.cpp49 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 Dcommon_test.cpp23 std::ifstream IFS("/proc/self/statm"); in getResidentMemorySize() local
24 IFS >> Size; in getResidentMemorySize()
25 IFS >> Resident; in getResidentMemorySize()

12