Home
last modified time | relevance | path

Searched +full:symbols +full:- +full:check (Results 1 – 25 of 1305) sorted by relevance

12345678910>>...53

/aosp_15_r20/external/compiler-rt/test/profile/
H A Dinstrprof-without-libc.c1 // RUN: %clang_profgen -DCHECK_SYMBOLS -O3 -o %t.symbols %s
2 // RUN: llvm-nm %t.symbols | FileCheck %s --check-prefix=CHECK-SYMBOLS
3 // RUN: %clang_profgen -O3 -o %t %s
5 // RUN: llvm-profdata merge -o %t.profdata %t.profraw
6 // RUN: %clang_profuse=%t.profdata -o - -S -emit-llvm %s | FileCheck %s
22 // CHECK-LABEL: define {{.*}} @main( in main()
23 // CHECK: br i1 %{{.*}}, label %{{.*}}, label %{{.*}}, !prof ![[PD1:[0-9]+]] in main()
38 // Don't write it out. Since we're checking the symbols, we don't have libc in main()
53 // CHECK: ![[PD1]] = !{!"branch_weights", i32 1, i32 2}
55 // CHECK-SYMBOLS-NOT: {{ }}___cxx_global_var_init
[all …]
/aosp_15_r20/external/executorch/scripts/
H A Dcheck_binary_dependencies.py5 # This source code is licensed under the BSD-style license found in the
8 # pyre-strict
11 A script to help check binary dependencies and disallowed symbols in intermediate build files.
40 # Disallow list of prefixes for standard library symbols.
76 # Cached symbols dictionary.
80 def error(message: str) -> NoReturn:
86 def get_tool_output(args: List[str]) -> str:
89 output = result.stdout.decode("utf-8")
95 ) -> List[Tuple[str, str]]:
96 """Read a set of symbols using the nm tool."""
[all …]
/aosp_15_r20/external/clang/test/Index/
H A Dlocal-symbols.m1 // RUN: c-index-test -test-load-source local %s | FileCheck %s
9 - (id) bar;
13 - (id) bar {
35 // CHECK: local-symbols.m:6:12: ObjCInterfaceDecl=Foo:6:12 Extent=[6:1 - 10:5]
36 // CHECK: local-symbols.m:7:6: ObjCIvarDecl=x:7:6 (Definition) Extent=[7:3 - 7:7]
37 // CHECK: local-symbols.m:7:3: TypeRef=id:0:0 Extent=[7:3 - 7:5]
38 // CHECK: local-symbols.m:9:8: ObjCInstanceMethodDecl=bar:9:8 Extent=[9:1 - 9:12]
39 // CHECK: local-symbols.m:9:4: TypeRef=id:0:0 Extent=[9:4 - 9:6]
40 // CHECK: local-symbols.m:12:17: ObjCImplementationDecl=Foo:12:17 (Definition) Extent=[12:1 - 16:2]
41 // CHECK: local-symbols.m:13:8: ObjCInstanceMethodDecl=bar:13:8 (Definition) Extent=[13:1 - 15:2]
[all …]
/aosp_15_r20/external/llvm/test/MC/ELF/
H A Dcompression.s1 // Check zlib-gnu style
2 // RUN: llvm-mc -filetype=obj -compress-debug-sections=zlib-gnu -triple x86_64-pc-linux-gnu < %s -o…
3 // RUN: llvm-objdump -s %t | FileCheck --check-prefix=CHECK-GNU-STYLE %s
4 // RUN: llvm-dwarfdump -debug-dump=str %t | FileCheck --check-prefix=STR %s
5 // RUN: llvm-mc -filetype=obj -compress-debug-sections=zlib-gnu -triple i386-pc-linux-gnu < %s \
6 // RUN: | llvm-readobj -symbols - | FileCheck --check-prefix=386-SYMBOLS-GNU %s
8 // Check zlib style
9 // RUN: llvm-mc -filetype=obj -compress-debug-sections=zlib -triple x86_64-pc-linux-gnu < %s -o %t
10 // RUN: llvm-objdump -s %t | FileCheck --check-prefix=CHECK-ZLIB-STYLE %s
11 // RUN: llvm-dwarfdump -debug-dump=str %t | FileCheck --check-prefix=STR %s
[all …]
/aosp_15_r20/external/llvm/test/tools/llvm-readobj/
H A Dcodeview-linetables.test20 ; using 32-/64-bit versions of CL v17.00.61030 and v18.00.21005.1 respectively.
21 RUN: llvm-readobj -s -codeview -section-symbols %p/Inputs/multifunction-linetables.obj.coff-2012-i3…
22 RUN: | FileCheck %s -check-prefix MFUN32
23 RUN: llvm-readobj -s -codeview -section-symbols %p/Inputs/multifunction-linetables.obj.coff-2013-i3…
24 RUN: | FileCheck %s -check-prefix MFUN32
25 RUN: llvm-readobj -s -codeview -section-symbols %p/Inputs/multifunction-linetables.obj.coff-2012-x8…
26 RUN: | FileCheck %s -check-prefix MFUN64
27 RUN: llvm-readobj -s -codeview -section-symbols %p/Inputs/multifunction-linetables.obj.coff-2013-x8…
28 RUN: | FileCheck %s -check-prefix MFUN64
31 MFUN32-NEXT: Section: .debug$S (2)
[all …]
/aosp_15_r20/external/llvm/test/tools/llvm-objdump/X86/
H A Dmacho-indirect-symbols.test1 RUN: llvm-objdump -macho -indirect-symbols %p/Inputs/hello.exe.macho-x86_64 | FileCheck %s
2 RUN: llvm-objdump -macho -indirect-symbols -non-verbose %p/Inputs/hello.exe.macho-x86_64 | FileChec…
4 CHECK: Indirect symbols for (__TEXT,__stubs) 1 entries
5 CHECK: address index name
6 CHECK: 0x0000000100000f6c 2 _printf
7 CHECK: Indirect symbols for (__DATA,__nl_symbol_ptr) 2 entries
8 CHECK: address index name
9 CHECK: 0x0000000100001000 3 dyld_stub_binder
10 CHECK: 0x0000000100001008 ABSOLUTE
11 CHECK: Indirect symbols for (__DATA,__la_symbol_ptr) 1 entries
[all …]
/aosp_15_r20/external/cpuinfo/src/arm/linux/
H A Dchipset.c29 return (uint8_t) (lower_c - 'a') <= (uint8_t) ('z' - 'a'); in is_ascii_alphabetic()
33 return (uint8_t) (c - 'A') <= (uint8_t) ('Z' - 'A'); in is_ascii_alphabetic_uppercase()
37 return (uint8_t) (c - '0') < 10; in is_ascii_numeric()
104 …* Tries to match /(MSM|APQ)\d{4}([A-Z\-]*)/ signature (case-insensitive) for Qualcomm MSM and APQ …
107 …* @param start - start of the platform identifier (/proc/cpuinfo Hardware string, ro.product.board…
109 …* @param end - end of the platform identifier (/proc/cpuinfo Hardware string, ro.product.board, ro…
111 * @param[out] chipset - location where chipset information will be stored upon a successful match.
119 /* Expect at least 7 symbols: 3 symbols "MSM" or "APQ" + 4 digits */ in match_msm_apq()
124 /* Check that string starts with "MSM" or "APQ", case-insensitive. in match_msm_apq()
125 …* The first three characters are loaded as 24-bit little endian word, binary ORed with 0x20 to con… in match_msm_apq()
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/share/orderfiles/
Dvalidate_orderfile.py9 # http://www.apache.org/licenses/LICENSE-2.0
18 # $ python3 validate_orderfile.py --order-file ../orderfiles/test/example.orderfile
20 # Try '-h' for a full list of command line arguments.
22 # Currently, we check four things in an orderfile:
23 # - A partial order is maintained in the orderfile
24 # - All symbols in allowlist must be present in the orderfile
25 # - No symbol in denylist should be present in the orderfile
26 # - The orderfile has a minimum number of symbols
37 "--order-file",
42 "--partial",
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/share/orderfiles/
Dvalidate_orderfile.py9 # http://www.apache.org/licenses/LICENSE-2.0
18 # $ python3 validate_orderfile.py --order-file ../orderfiles/test/example.orderfile
20 # Try '-h' for a full list of command line arguments.
22 # Currently, we check four things in an orderfile:
23 # - A partial order is maintained in the orderfile
24 # - All symbols in allowlist must be present in the orderfile
25 # - No symbol in denylist should be present in the orderfile
26 # - The orderfile has a minimum number of symbols
37 "--order-file",
42 "--partial",
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/share/orderfiles/
Dvalidate_orderfile.py9 # http://www.apache.org/licenses/LICENSE-2.0
18 # $ python3 validate_orderfile.py --order-file ../orderfiles/test/example.orderfile
20 # Try '-h' for a full list of command line arguments.
22 # Currently, we check four things in an orderfile:
23 # - A partial order is maintained in the orderfile
24 # - All symbols in allowlist must be present in the orderfile
25 # - No symbol in denylist should be present in the orderfile
26 # - The orderfile has a minimum number of symbols
37 "--order-file",
42 "--partial",
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/share/orderfiles/
Dvalidate_orderfile.py9 # http://www.apache.org/licenses/LICENSE-2.0
18 # $ python3 validate_orderfile.py --order-file ../orderfiles/test/example.orderfile
20 # Try '-h' for a full list of command line arguments.
22 # Currently, we check four things in an orderfile:
23 # - A partial order is maintained in the orderfile
24 # - All symbols in allowlist must be present in the orderfile
25 # - No symbol in denylist should be present in the orderfile
26 # - The orderfile has a minimum number of symbols
37 "--order-file",
42 "--partial",
[all …]
/aosp_15_r20/external/mbedtls/tests/scripts/
H A Dcheck_names.py4 # SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
7 This script confirms that the naming of all symbols and identifiers in Mbed TLS
8 are consistent with the house style and are also self-consistent. It only runs
12 a comprehensive "run-all" function (comprehensive_parse() and perform_checks())
23 - All exported and available symbols in the library object files, are explicitly
25 - All macros, constants, and identifiers (function names, struct names, etc)
27 - Typo checking: All words that begin with MBED|PSA exist as macros or constants.
47 import scripts_path # pylint: disable=unused-import
51 # Naming patterns to check against. These are defined outside the NameCheck
53 PUBLIC_MACRO_PATTERN = r"^(MBEDTLS|PSA)_[0-9A-Z_]*[0-9A-Z]$"
[all …]
/aosp_15_r20/external/openthread/third_party/mbedtls/repo/tests/scripts/
H A Dcheck_names.py4 # SPDX-License-Identifier: Apache-2.0 OR GPL-2.0-or-later
7 This script confirms that the naming of all symbols and identifiers in Mbed TLS
8 are consistent with the house style and are also self-consistent. It only runs
12 a comprehensive "run-all" function (comprehensive_parse() and perform_checks())
23 - All exported and available symbols in the library object files, are explicitly
25 - All macros, constants, and identifiers (function names, struct names, etc)
27 - Typo checking: All words that begin with MBED|PSA exist as macros or constants.
47 import scripts_path # pylint: disable=unused-import
51 # Naming patterns to check against. These are defined outside the NameCheck
53 PUBLIC_MACRO_PATTERN = r"^(MBEDTLS|PSA)_[0-9A-Z_]*[0-9A-Z]$"
[all …]
/aosp_15_r20/external/llvm/utils/
H A Dextract_symbols.py3 """A tool for extracting a list of symbols to export
5 When exporting symbols from a dll or exe we either need to mark the symbols in
6 the source code as __declspec(dllexport) or supply a list of symbols to the
8 list of link inputs and deciding which of those symbols need to be exported.
10 We can't just export all the defined symbols, as there's a limit of 65535
11 exported symbols and in clang we go way over that, particularly in a debug
12 build. Therefore a large part of the work is pruning symbols either which can't
15 importing these symbols anyway.
26 # Define functions which extract a list of symbols from a library using several
33 process = subprocess.Popen(['dumpbin','/symbols',lib], bufsize=1,
[all …]
/aosp_15_r20/external/llvm/test/tools/dsymutil/
H A Dyaml-object-address-rewrite.test1 # RUN: llvm-dsymutil -dump-debug-map -oso-prepend-path=%p -y %s | FileCheck %s
3 # The YAML debug map bellow is the one from basic-archive.macho.x86_64 with
4 # the object addresses set to zero. Check that the YAML import is able to
7 # CHECK: ---
8 # CHECK-NEXT: triple:{{.*}}'x86_64-apple-darwin'
9 # CHECK-NEXT: binary-path:{{.*}}''
10 # CHECK-NEXT: objects:
11 # CHECK-NEXT: filename:{{.*}}/Inputs/basic1.macho.x86_64.o
12 # CHECK-NEXT: timestamp: 0
13 # CHECK-NEXT: symbols:
[all …]
/aosp_15_r20/prebuilts/go/linux-x86/src/cmd/link/internal/loader/
Dloader.go2 // Use of this source code is governed by a BSD-style
29 // Go symbol. The 0-valued Sym is corresponds to an invalid symbol.
90 // Total number of defined symbols (package symbols, hashed symbols, and
91 // non-package symbols).
96 // For external symbols, objidx is the index of l.extReader (extObj),
111 // set the i-th bit.
117 // unset the i-th bit.
123 // whether the i-th bit is set.
152 b = append(b, MakeBitmap(reqLen+1-curLen)...)
166 // - Go object files are read before host object files; each Go object
[all …]
/aosp_15_r20/external/elfutils/src/
H A DChangeLog1 2023-03-27 Di Chen <[email protected]>
3 * readelf.c (options): Support dynamic symtab print with '-Ds'.
17 2023-03-03 Mark Wielaard <[email protected]>
22 2023-02-12 Mark Wielaard <[email protected]>
24 * readelf.c (print_attributes): Add comment about check.
25 (read_encoded): Check readp >= endp before reading
27 * elflint.c (check_attributes): Check r >= q before reading
29 (print_debug_frame_section): Check augmentation length can be read
34 2023-01-22 Mark Wielaard <[email protected]>
36 * addr2line.c (options): Separate --demangle and -C.
[all …]
/aosp_15_r20/external/llvm/test/MC/MachO/
H A Dsymbols-1.s1-mc -triple i386-apple-darwin9 %s -filetype=obj -o - | llvm-readobj -file-headers -s -r -t -macho-
2-mc -triple x86_64-apple-darwin10 %s -filetype=obj -o - | llvm-readobj -file-headers -s -r -t -mac…
20 // CHECK-X86_32: File: <stdin>
21 // CHECK-X86_32: Format: Mach-O 32-bit i386
22 // CHECK-X86_32: Arch: i386
23 // CHECK-X86_32: AddressSize: 32bit
24 // CHECK-X86_32: MachHeader {
25 // CHECK-X86_32: Magic: Magic (0xFEEDFACE)
26 // CHECK-X86_32: CpuType: X86 (0x7)
27 // CHECK-X86_32: CpuSubType: CPU_SUBTYPE_I386_ALL (0x3)
[all …]
H A Dzerofill-3.s1-mc -triple i386-apple-darwin9 %s -filetype=obj -o - | llvm-readobj -file-headers -s -sd -r -t --m…
4 // orders the symbols, then assigns addresses. :(
22 // CHECK: File: <stdin>
23 // CHECK: Format: Mach-O 32-bit i386
24 // CHECK: Arch: i386
25 // CHECK: AddressSize: 32bit
26 // CHECK: MachHeader {
27 // CHECK: Magic: Magic (0xFEEDFACE)
28 // CHECK: CpuType: X86 (0x7)
29 // CHECK: CpuSubType: CPU_SUBTYPE_I386_ALL (0x3)
[all …]
H A Dvariable-exprs.s1 // RUN: llvm-mc -triple i386-apple-darwin10 %s -filetype=obj -o %t.o
2 // RUN: llvm-readobj -file-headers -s -sd -r -t -macho-segment -macho-dysymtab -macho-indirect-symb…
3 // RUN: FileCheck --check-prefix=CHECK-I386 < %t.dump %s
5 // RUN: llvm-mc -triple x86_64-apple-darwin10 %s -filetype=obj -o %t.o
6 // RUN: llvm-readobj -file-headers -s -sd -r -t -macho-segment -macho-dysymtab -macho-indirect-symb…
7 // RUN: FileCheck --check-prefix=CHECK-X86_64 < %t.dump %s
46 Lt0_x = Lt0_a - Lt0_b
49 // CHECK-I386: File: <stdin>
50 // CHECK-I386: Format: Mach-O 32-bit i386
51 // CHECK-I386: Arch: i386
[all …]
/aosp_15_r20/external/llvm/test/tools/llvm-pdbdump/
H A Dregex-filter.test1 ; RUN: llvm-pdbdump pretty -symbols -globals -types %p/Inputs/FilterTest.pdb \
2 ; RUN: | FileCheck --check-prefix=NO_FILTER %s
3 ; RUN: llvm-pdbdump pretty -types -exclude-types="GlobalTypedef|NestedTypedef" \
4 ; RUN: %p/Inputs/FilterTest.pdb | FileCheck --check-prefix=EXCLUDE_TYPEDEFS %s
5 ; RUN: llvm-pdbdump pretty -types -exclude-types="GlobalEnum|NestedEnum" \
6 ; RUN: %p/Inputs/FilterTest.pdb | FileCheck --check-prefix=EXCLUDE_ENUMS %s
7 ; RUN: llvm-pdbdump pretty -types -symbols -globals -exclude-symbols="MemberVar|GlobalVar" \
8 ; RUN: %p/Inputs/FilterTest.pdb | FileCheck --check-prefix=EXCLUDE_VARS %s
9 ; RUN: llvm-pdbdump pretty -types -exclude-types="FilterTestClass" \
10 ; RUN: %p/Inputs/FilterTest.pdb | FileCheck --check-prefix=EXCLUDE_WHOLE_CLASS %s
[all …]
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/DebugInfo/LogicalView/Core/
H A DLVScope.cpp1 //===-- LVScope.cpp -------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
11 //===----------------------------------------------------------------------===//
45 //===----------------------------------------------------------------------===//
47 //===----------------------------------------------------------------------===//
50 delete Symbols; in ~LVScope()
118 Children->push_back(Element); in addToChildren()
123 if (Element->getIsType()) in addElement()
125 else if (Element->getIsScope()) in addElement()
[all …]
/aosp_15_r20/external/clang/lib/StaticAnalyzer/Checkers/
H A DCheckerDocumentation.cpp1 //===- CheckerDocumentation.cpp - Documentation checker ---------*- C++ -*-===//
8 //===----------------------------------------------------------------------===//
13 //===----------------------------------------------------------------------===//
33 /// as reporting bugs. Most of the callbacks are targeted at path-sensitive
37 class CheckerDocumentation : public Checker< check::PreStmt<ReturnStmt>,
38 check::PostStmt<DeclStmt>,
39 check::PreObjCMessage,
40 check::PostObjCMessage,
41 check::ObjCMessageNil,
42 check::PreCall,
[all …]
/aosp_15_r20/external/llvm/test/ExecutionEngine/RuntimeDyld/X86/
H A DMachO_x86-64_PIC_relocations.s1 # RUN: llvm-mc -triple=x86_64-apple-macosx10.9 -filetype=obj -o %T/test_x86-64.o %s
2 …llvm-rtdyld -triple=x86_64-apple-macosx10.9 -dummy-extern ds1=0xfffffffffffffffe -dummy-extern ds2…
13 # Test PC-rel branch.
14 # rtdyld-check: decode_operand(insn1, 0) = foo - next_pc(insn1)
18 # Test PC-rel signed.
19 # rtdyld-check: decode_operand(insn2, 4) = x - next_pc(insn2)
23 # Test PC-rel GOT relocation.
26 # rtdyld-check: *{8}(stub_addr(test_x86-64.o, __text, y)) = y
27 # rtdyld-check: decode_operand(insn3, 4) = stub_addr(test_x86-64.o, __text, y) - next_pc(insn3)
35 # rtdyld-check: *{8}(section_addr(test_x86-64.o, __eh_frame) + 0x20) = eh_frame_test - (section_add…
[all …]
/aosp_15_r20/external/stg/
H A Delf_loader.cc1 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
2 // -*- mode: C++ -*-
4 // Copyright 2020-2022 Google LLC
148 Check(gelf_getehdr(elf, &header) != nullptr) << "could not get ELF header"; in GetMachine()
174 Check(gelf_getshdr(section, &header) != nullptr) in GetSectionsIf()
185 Check(elf_getshdrstrndx(elf, &shdr_strtab_index) == 0) in GetSectionsByName()
199 Check(sections.size() == 1) in MaybeGetSectionByName()
206 Check(section != nullptr) << "no section found with name '" << name << "'"; in GetSectionByName()
216 Check(sections.size() == 1) << "multiple sections found with type " << type; in MaybeGetSectionByType()
222 Check(section != nullptr) << "no section found with index " << index; in GetSectionByIndex()
[all …]

12345678910>>...53