| /llvm-project-15.0.7/llvm/ |
| H A D | .gitattributes | 1 # binary files 2 test/Object/Inputs/*.a* binary 3 test/tools/dsymutil/Inputs/*.o binary 4 test/tools/dsymutil/Inputs/*.a binary 5 test/tools/dsymutil/Inputs/*.i386 binary 6 test/tools/dsymutil/Inputs/*.x86_64 binary 9 test/tools/dsymutil/Inputs/*.dSYM binary 11 test/tools/llvm-ar/Inputs/*.lib binary 12 test/tools/llvm-ar/Inputs/*.a binary 14 test/tools/llvm-rc/Inputs/* binary [all …]
|
| /llvm-project-15.0.7/llvm/test/tools/llvm-objcopy/ELF/ |
| H A D | binary-input-and-output.test | 6 ## -I binary -O binary preserves payload through in-memory representation. 7 # RUN: llvm-objcopy -I binary -O binary %t.txt %t.2.txt 11 ## If -O is not specified, it defaults to -I, i.e. "binary". 12 # RUN: llvm-objcopy -I binary %t.txt %t.3.txt 15 ## -I binary -O elf* creates an ELF. -O binary transforms it back to the 17 # RUN: llvm-objcopy -I binary -O elf64-x86-64 %t.txt %t.o 18 # RUN: llvm-objcopy -O binary %t.o %t.4.txt 22 # RUN: llvm-objcopy -I binary -B i386:x86-64 -O binary %t.txt %t.5.txt
|
| H A D | input-output-target.test | 7 # RUN: llvm-objcopy -F binary %t.txt %t.2.txt 11 # RUN: llvm-objcopy --target binary %t.txt %t.3.txt 15 # RUN: not llvm-objcopy --target binary --input-target binary \ 18 # RUN: not llvm-objcopy --target binary --output-target binary \
|
| H A D | new-symbol-visibility.test | 2 ## using binary input can be specified with the --new-symbol-visibility switch. 4 # RUN: llvm-objcopy -I binary -O elf64-x86-64 %s %t.unspecified 6 # RUN: llvm-objcopy --new-symbol-visibility default -I binary -O elf64-x86-64 %s %t.default 8 # RUN: llvm-objcopy --new-symbol-visibility hidden -I binary -O elf64-x86-64 %s %t.hidden 10 # RUN: llvm-objcopy --new-symbol-visibility protected -I binary -O elf64-x86-64 %s %t.protected 12 # RUN: llvm-objcopy --new-symbol-visibility internal -I binary -O elf64-x86-64 %s %t.internal 19 # RUN: not llvm-objcopy --new-symbol-visibility fluff -I binary -O elf64-x86-64 \
|
| H A D | binary-output-target.test | 3 # RUN: llvm-objcopy -I binary -O elf64-littleaarch64 %t.txt %t.aarch64.o 6 # RUN: llvm-objcopy -I binary -O elf32-littlearm %t.txt %t.arm.o 9 # RUN: llvm-objcopy -I binary -O elf32-i386 %t.txt %t.i386.o 12 # RUN: llvm-objcopy -I binary -O elf64-x86-64 %t.txt %t.x86-64.o 15 # RUN: llvm-objcopy -I binary -O elf32-bigmips %t.txt %t.mips.o 18 # RUN: llvm-objcopy -I binary -O elf32-powerpc %t.txt %t.ppc32be.o 21 # RUN: llvm-objcopy -I binary -O elf32-powerpcle %t.txt %t.ppc32le.o 24 # RUN: llvm-objcopy -I binary -O elf64-powerpc %t.txt %t.ppc64be.o 30 # RUN: llvm-objcopy -I binary -O elf32-littleriscv %t.txt %t.rv32.o 36 # RUN: llvm-objcopy -I binary -O elf32-sparc %t.txt %t.sparc.o [all …]
|
| /llvm-project-15.0.7/compiler-rt/lib/asan/scripts/ |
| H A D | asan_symbolize.py | 150 self.binary = binary 171 if self.binary != binary: 256 self.binary = binary 267 if self.binary != binary: 389 if self.binary != binary: 454 [BreakpadSymbolizerFactory(binary), self.llvm_symbolizers[binary]]) 455 result = symbolizers[binary].symbolize(addr, binary, offset) 464 result = symbolizers[binary].symbolize(addr, binary, offset) 523 binary = binary[0:colon_pos] 530 binary = self.plugin_proxy.filter_binary_path(binary) [all …]
|
| /llvm-project-15.0.7/lld/test/ELF/ |
| H A D | mips-elf-flags-binary.s | 4 # RUN: echo -n "BLOB" > %t.binary 5 # RUN: ld.lld -m elf32btsmip -r -b binary %t.binary -o %t.out 8 # RUN: echo -n "BLOB" > %t.binary 9 # RUN: ld.lld -m elf32btsmipn32 -r -b binary %t.binary -o %t.out 12 # RUN: echo -n "BLOB" > %t.binary 13 # RUN: ld.lld -m elf64btsmip -r -b binary %t.binary -o %t.out
|
| H A D | oformat-binary.s | 4 # RUN: ld.lld -o %t.out %t --oformat=binary 11 # RUN: ld.lld -o %t2.out --script %t.script %t --oformat binary 15 # RUN: ld.lld -o %t2.out --script %t.script %t --oformat binary 21 # RUN: ld.lld -T %talign.lds %t --oformat binary -o %talign 29 # RUN: ld.lld -T %tempty.lds %t --oformat binary -o %tempty 35 # RUN: ld.lld -T %tnobits.lds %t --oformat binary -o %tnobits 41 # RUN: ld.lld -T %tlma.lds %t --oformat binary -o %tlma
|
| /llvm-project-15.0.7/mlir/unittests/Dialect/SPIRV/ |
| H A D | DeserializationTest.cpp | 48 return spirv::deserialize(binary, &context); in deserialize() 72 binary.append(operands.begin(), operands.end()); in addInstruction() 120 SmallVector<uint32_t, 5> binary; member in DeserializationTest 157 binary.push_back((2u << 16) | in TEST_F() 184 std::swap(typeDecl, binary); in TEST_F() 188 std::swap(typeDecl, binary); in TEST_F() 198 binary.append(typeDecl.begin(), typeDecl.end()); in TEST_F() 205 std::swap(typeDecl, binary); in TEST_F() 210 std::swap(typeDecl, binary); in TEST_F() 223 std::swap(typeDecl, binary); in TEST_F() [all …]
|
| H A D | SerializationTest.cpp | 86 auto binarySize = binary.size(); in scanInstruction() 87 auto *begin = binary.begin(); in scanInstruction() 91 auto wordCount = binary[currOffset] >> 16; in scanInstruction() 96 static_cast<spirv::Opcode>(binary[currOffset] & 0xffff); in scanInstruction() 110 SmallVector<uint32_t, 0> binary; member in SerializationTest 121 ASSERT_TRUE(succeeded(spirv::serialize(module.get(), binary))); in TEST_F() 138 ASSERT_TRUE(succeeded(spirv::serialize(module.get(), binary))); in TEST_F() 158 ASSERT_TRUE(succeeded(spirv::serialize(module.get(), binary, options))); in TEST_F() 174 ASSERT_TRUE(succeeded(spirv::serialize(module.get(), binary, options))); in TEST_F()
|
| /llvm-project-15.0.7/lldb/test/Shell/ObjectFile/ELF/ |
| H A D | minidebuginfo-set-and-hit-breakpoint.test | 11 # Extract the dynamic symbols from the main binary, there is no need 30 # Separate full debug info into debug binary. 32 # RUN: llvm-objcopy --only-keep-debug %t.binary %t.debug 41 # in the .dynsym section of the main binary. The bits removing .rela.plt, 47 # Drop the full debug info from the original binary. 49 # RUN: llvm-strip --strip-all -R .comment %t.binary 52 # original binary. 56 # RUN: llvm-objcopy --add-section .gnu_debugdata=%t.mini_debuginfo.xz %t.binary 58 # Now run the binary and see that we can set and hit a breakpoint 77 # CHECK-NEXT: module = {{.*}}/minidebuginfo-set-and-hit-breakpoint.test.tmp.binary [all …]
|
| /llvm-project-15.0.7/llvm/docs/CommandGuide/ |
| H A D | llvm-install-name-tool.rst | 15 install names and rpaths listed in a Mach-O binary. 29 Add an rpath named ``<rpath>`` to the specified binary. Can be specified multiple 31 the binary. 36 specified binary. Can be specified multiple times to change multiple dependent shared 38 in the specified binary. 42 Delete an rpath named ``<rpath>`` from the specified binary. Can be specified multiple 44 the binary. 48 Deletes all rpaths from the binary. 57 specified binary. If specified multiple times, only the last :option:`-id` option is 58 selected. Option is ignored if the specified Mach-O binary is not a dynamic shared library. [all …]
|
| /llvm-project-15.0.7/mlir/lib/Target/SPIRV/ |
| H A D | TranslateRegistration.cpp | 52 auto binary = llvm::makeArrayRef(reinterpret_cast<const uint32_t *>(start), in deserializeModule() local 56 spirv::deserialize(binary, context); in deserializeModule() 87 SmallVector<uint32_t, 0> binary; in serializeModule() local 98 if (failed(spirv::serialize(spirvModules[0], binary))) in serializeModule() 101 output.write(reinterpret_cast<char *>(binary.data()), in serializeModule() 102 binary.size() * sizeof(uint32_t)); in serializeModule() 126 SmallVector<uint32_t, 0> binary; in roundTripModule() local 138 if (failed(spirv::serialize(*spirvModules.begin(), binary, options))) in roundTripModule() 146 spirv::deserialize(binary, &deserializationContext); in roundTripModule()
|
| H A D | SPIRVBinaryUtils.cpp | 65 void spirv::encodeStringLiteralInto(SmallVectorImpl<uint32_t> &binary, in encodeStringLiteralInto() argument 69 auto bufferStartSize = binary.size(); in encodeStringLiteralInto() 70 binary.resize(bufferStartSize + encodingSize, 0); in encodeStringLiteralInto() 71 std::memcpy(binary.data() + bufferStartSize, literal.data(), literal.size()); in encodeStringLiteralInto()
|
| /llvm-project-15.0.7/lldb/test/Shell/ScriptInterpreter/Python/Crashlog/ |
| H A D | patch-crashlog.py | 16 def __init__(self, data, binary, offsets, json): argument 18 self.binary = binary 23 self.data = self.data.replace("@EXEC@", self.binary) 24 self.data = self.data.replace("@NAME@", os.path.basename(self.binary)) 27 output = subprocess.check_output(['dwarfdump', '--uuid', self.binary]).decode("utf-8") 35 output = subprocess.check_output(['nm', self.binary]).decode("utf-8") 70 p = CrashLogPatcher(data, args.binary, offsets, args.json)
|
| /llvm-project-15.0.7/mlir/lib/Conversion/GPUToVulkan/ |
| H A D | ConvertGPULaunchFuncToVulkanLaunchFunc.cpp | 134 SmallVector<uint32_t, 0> binary; in createBinaryShader() local 140 if (failed(spirv::serialize(spirvModule, binary))) in createBinaryShader() 143 binaryShader.resize(binary.size() * sizeof(uint32_t)); in createBinaryShader() 144 std::memcpy(binaryShader.data(), reinterpret_cast<char *>(binary.data()), in createBinaryShader() 156 std::vector<char> binary; in convertGpuLaunchFunc() local 157 if (failed(createBinaryShader(module, binary))) in convertGpuLaunchFunc() 180 builder.getStringAttr(StringRef(binary.data(), binary.size()))); in convertGpuLaunchFunc()
|
| /llvm-project-15.0.7/utils/bazel/llvm-project-overlay/llvm/ |
| H A D | binary_alias.bzl | 5 """Creates a copy of a binary, giving it a different basename. 9 binary = ":some_cc_binary", 15 target_file = ctx.executable.binary, 22 runfiles = ctx.attr.binary[DefaultInfo].default_runfiles, 28 "binary": attr.label(
|
| /llvm-project-15.0.7/llvm/test/tools/UpdateTestChecks/ |
| H A D | lit.local.cfg | 27 config.available_features.add('llc-binary') 28 llc_arg = '--llc-binary ' + shell_quote(llc_path) 34 config.available_features.add('opt-binary') 35 opt_arg = '--opt-binary ' + shell_quote(opt_path) 42 config.available_features.add('llvm-mca-binary') 43 mca_arg = '--llvm-mca-binary ' + shell_quote(llvm_mca_path)
|
| /llvm-project-15.0.7/llvm/test/tools/llvm-cov/ |
| H A D | missing-binaries.test | 1 RUN: llvm-profdata merge %S/Inputs/binary-formats.proftext -o %t.profdata 2 … show -instr-profile=%t.profdata --object=%t.nonexistent.binary.1 --object=%t.nonexistent.binary.2… 4 CHECK: Failed to load coverage: '{{.*}}nonexistent.binary.1':
|
| /llvm-project-15.0.7/llvm/docs/tutorial/MyFirstLanguageFrontend/ |
| H A D | LangImpl06.rst | 51 binary operators. An example of this is: 63 def binary> 10 (LHS RHS) 67 def binary| 5 (LHS RHS) 76 def binary= 9 (LHS RHS) 109 if (IdentifierStr == "binary") 190 FnName = "binary"; 488 def binary> 10 (LHS RHS) 492 def binary| 5 (LHS RHS) 501 def binary& 6 (LHS RHS) 508 def binary = 9 (LHS RHS) [all …]
|
| /llvm-project-15.0.7/clang/docs/ |
| H A D | ClangOffloadPackager.rst | 14 metadata. We use a custom binary format for bundling all the device images 17 create a fat-binary. 22 The binary format is marked by the ``0x10FF10AD`` magic bytes, followed by a 23 version. Each created binary contains its own magic bytes. This allows us to 25 by the linker, such as when using relocatable linking. Conceptually, this binary 26 format is a serialization of a string map and an image buffer. The binary header 47 of the binary blob containing the information for a single offloading image. We 76 identify the type of image stored here without needing to inspect the binary. 133 binary images string table. The string table is simply a collection of null 138 All of these structures are combined to form a single binary blob, the order [all …]
|
| /llvm-project-15.0.7/llvm/utils/ |
| H A D | prepare-code-coverage-artifact.py | 42 for i, binary in enumerate(binaries): 44 objects.append(binary) 46 objects.extend(('-object', binary)) 66 for binary in binaries: 68 os.path.basename(binary)) 70 [binary], restricted_dirs, compilation_dir)
|
| /llvm-project-15.0.7/llvm/test/tools/llvm-profdata/ |
| H A D | sample-fs.test | 39 …nputs/sample-fs.proftext -profile-isfs -fs-discriminator-pass=PassLast --binary -o - | llvm-profda… 40 RUN: llvm-profdata merge --sample %p/Inputs/sample-fs.proftext -profile-isfs --binary -o - | llvm-p… 46 …ext -profile-isfs -fs-discriminator-pass=Base --binary -o - | llvm-profdata show --sample - -o %t2… 48 RUN: diff %t2-binary %t2-text 51 …xt -profile-isfs -fs-discriminator-pass=Pass1 --binary -o - | llvm-profdata show --sample - -o %t3… 53 RUN: diff %t3-binary %t3-text
|
| /llvm-project-15.0.7/lldb/source/Symbol/ |
| H A D | PostfixExpression.cpp | 117 bool Visit(BinaryOpNode &binary, Node *&) override { in Visit() argument 118 return Dispatch(binary.Left()) && Dispatch(binary.Right()); in Visit() 149 void Visit(BinaryOpNode &binary, Node *&) override; 180 void DWARFCodegen::Visit(BinaryOpNode &binary, Node *&) { in Visit() argument 181 Dispatch(binary.Left()); in Visit() 182 Dispatch(binary.Right()); in Visit() 184 switch (binary.GetOpType()) { in Visit()
|
| /llvm-project-15.0.7/lldb/test/Shell/Reproducer/ |
| H A D | TestWorkingDir.test | 2 # binary in a subdirectory and pass its relative path to LLDB. 9 # RUN: mkdir -p %t/binary 11 # RUN: %clang_host %S/Inputs/simple.c -g -o binary/reproducer.out 12 # RUN: %lldb -x -b -s %S/Inputs/WorkingDir.in --capture --capture-path %t.repro binary/reproducer.o… 13 # RUN: rm -rf %t/binary
|