Home
last modified time | relevance | path

Searched +full:mach +full:- +full:o (Results 1 – 25 of 664) sorted by relevance

12345678910>>...27

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/BinaryFormat/
DMagic.h1 //===- llvm/BinaryFormat/Magic.h - File magic identification ----*- C++ -*-===//
8 //===----------------------------------------------------------------------===//
19 /// file_magic - An "enum class" enumeration of file types based on magic (the
31 macho_object, ///< Mach-O Object file
32 macho_executable, ///< Mach-O Executable
33 macho_fixed_virtual_memory_shared_lib, ///< Mach-O Shared Lib, FVM
34 macho_core, ///< Mach-O Core File
35 macho_preload_executable, ///< Mach-O Preloaded Executable
36 macho_dynamically_linked_shared_lib, ///< Mach-O dynlinked shared lib
37 macho_dynamic_linker, ///< The Mach-O dynamic linker
[all …]
/external/google-breakpad/src/common/mac/
Dmacho_reader.h1 // -*- mode: C++ -*-
32 // Original author: Jim Blandy <jimb@mozilla.com> <jimb@red-bean.com>
34 // macho_reader.h: A class for parsing Mach-O files.
39 #include <mach-o/loader.h>
40 #include <mach-o/fat.h>
70 // When applied to a (non-fat) Mach-O file, this behaves as if the
84 // The data does not begin with a fat binary or Mach-O magic number.
88 // The Mach-O fat binary file ends abruptly, without enough space
109 // If the data is a plain Mach-O file, rather than a fat binary file,
111 // single object file is the Mach-O file.
[all …]
Dmacho_id.h38 #include <mach/machine.h>
39 #include <mach-o/loader.h>
67 // mach-o data segment(s).
68 // Return 0 on error (e.g., if the file is not a mach-o file)
72 // For the given |cpu_type|, and |cpu_subtype| return the MD5 for the mach-o
/external/swiftshader/third_party/LLVM/include/llvm/Object/
DMachOFormat.h1 //===- MachOFormat.h - Mach-O Format Structures And Constants ---*- C++ -*-===//
8 //===----------------------------------------------------------------------===//
12 // Mach object files.
17 // On a Mach system, see the <mach-o/...> includes for more information, in
18 // particular <mach-o/loader.h>.
20 //===----------------------------------------------------------------------===//
30 /// General Mach platform information.
31 namespace mach {
84 } // end namespace mach
86 /// Format information for Mach object files.
[all …]
DMachOObject.h1 //===- MachOObject.h - Mach-O Object File Wrapper ---------------*- C++ -*-===//
8 //===----------------------------------------------------------------------===//
26 /// \brief Wrapper object for manipulating Mach-O object files.
28 /// This class is designed to implement a full-featured, efficient, portable,
29 /// and robust Mach-O interface to Mach-O object files. It does not attempt to
30 /// smooth over rough edges in the Mach-O format or generalize access to object
33 /// The class is designed around accessing the Mach-O object which is expected
39 /// access. This allows the API to be zero-copy on the common paths.
60 /// Whether the object is 64-bit.
84 /// \brief Load a Mach-O object from a MemoryBuffer object.
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/
DMCSectionMachO.cpp1 //===- lib/MC/MCSectionMachO.cpp - MachO Code Section Representation ------===//
8 //===----------------------------------------------------------------------===//
16 /// SectionTypeDescriptors - These are strings that describe the various section
61 /// SectionAttrDescriptors - This is an array of descriptors for section
178 /// ParseSectionSpecifier - Parse the section specifier indicated by "Spec".
179 /// This is a string that can appear after a .section directive in a mach-o
194 auto GetEmptyOrTrim = [&SplitSpec](size_t Idx) -> StringRef { in ParseSectionSpecifier()
205 return "mach-o section specifier requires a segment whose length is " in ParseSectionSpecifier()
210 return "mach-o section specifier requires a segment and section " in ParseSectionSpecifier()
214 return "mach-o section specifier requires a section whose length is " in ParseSectionSpecifier()
[all …]
/external/llvm/lib/MC/
DMCSectionMachO.cpp1 //===- lib/MC/MCSectionMachO.cpp - MachO Code Section Representation ------===//
8 //===----------------------------------------------------------------------===//
16 /// SectionTypeDescriptors - These are strings that describe the various section
49 /// SectionAttrDescriptors - This is an array of descriptors for section
166 /// ParseSectionSpecifier - Parse the section specifier indicated by "Spec".
167 /// This is a string that can appear after a .section directive in a mach-o
182 auto GetEmptyOrTrim = [&SplitSpec](size_t Idx) -> StringRef { in ParseSectionSpecifier()
193 return "mach-o section specifier requires a segment whose length is " in ParseSectionSpecifier()
198 return "mach-o section specifier requires a segment and section " in ParseSectionSpecifier()
202 return "mach-o section specifier requires a section whose length is " in ParseSectionSpecifier()
[all …]
/external/google-breakpad/src/client/mac/handler/
Ddynamic_images.h35 // is limited to use by 32-bit tasks.
40 #include <mach/mach.h>
41 #include <mach-o/dyld.h>
42 #include <mach-o/loader.h>
99 // Helper functions to deal with 32-bit/64-bit Mach-O differences.
108 // Represents a single dynamically loaded mach-o image
135 // Full path to mach-o binary
158 // filetype from the Mach-O header.
161 // Return true if the task is a 64-bit architecture.
213 return (*const_cast<DynamicImageRef*>(this)->p)
[all …]
/external/swiftshader/third_party/LLVM/lib/MC/
DMCSectionMachO.cpp1 //===- lib/MC/MCSectionMachO.cpp - MachO Code Section Representation ------===//
8 //===----------------------------------------------------------------------===//
16 /// SectionTypeDescriptors - These are strings that describe the various section
49 /// SectionAttrDescriptors - This is an array of descriptors for section
166 /// StripSpaces - This removes leading and trailing spaces from the StringRef.
171 Str = Str.substr(0, Str.size()-1); in StripSpaces()
174 /// ParseSectionSpecifier - Parse the section specifier indicated by "Spec".
175 /// This is a string that can appear after a .section directive in a mach-o
191 return "mach-o section specifier requires a segment and section " in ParseSectionSpecifier()
200 return "mach-o section specifier requires a segment whose length is " in ParseSectionSpecifier()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/DebugInfo/
Ddwarfdump-macho-universal.test2 RUN: llvm-dwarfdump -v %S/Inputs/fat-test.o --debug-info | FileCheck %s
4 CHECK: fat-test.o(x86_64): file format Mach-O 64-bit x86-64
6 CHECK-NOT: {{NULL|DW_TAG}}
9 CHECK: fat-test.o(i386): file format Mach-O 32-bit i386
11 CHECK-NOT: {{NULL|DW_TAG}}
14 CHECK: fat-test.o(x86_64h): file format Mach-O 64-bit x86-64
16 CHECK-NOT: {{NULL|DW_TAG}}
/external/llvm/test/DebugInfo/
Ddwarfdump-macho-universal.test1 Reuse a test input from llvm-dsymutil, it's perfect for what we want to exercise
2 RUN: llvm-dwarfdump %S/Inputs/fat-test.o -debug-dump=info | FileCheck %s
4 CHECK: fat-test.o (x86_64): file format Mach-O 64-bit x86-64
6 CHECK-NOT: {{NULL|DW_TAG}}
9 CHECK: fat-test.o (i386): file format Mach-O 32-bit i386
11 CHECK-NOT: {{NULL|DW_TAG}}
14 CHECK: fat-test.o (x86_64h): file format Mach-O 64-bit x86-64
16 CHECK-NOT: {{NULL|DW_TAG}}
/external/llvm/tools/llvm-nm/
Dllvm-nm.cpp1 //===-- llvm-nm.cpp - Symbol table dumping utility for llvm ---------------===//
8 //===----------------------------------------------------------------------===//
17 //===----------------------------------------------------------------------===//
59 clEnumVal(darwin, "Darwin -m format"), clEnumValEnd),
61 cl::alias OutputFormat2("f", cl::desc("Alias for --format"),
67 cl::opt<bool> UndefinedOnly("undefined-only",
69 cl::alias UndefinedOnly2("u", cl::desc("Alias for --undefined-only"),
75 cl::alias DynamicSyms2("D", cl::desc("Alias for --dynamic"),
78 cl::opt<bool> DefinedOnly("defined-only",
80 cl::alias DefinedOnly2("U", cl::desc("Alias for --defined-only"),
[all …]
/external/v8/src/base/platform/
Dplatform-macos.cc2 // Use of this source code is governed by a BSD-style license that can be
5 // Platform-specific code for MacOS goes here. For the POSIX-compatible
6 // parts, the implementation is in platform-posix.cc.
9 #include <mach/mach_init.h>
10 #include <mach-o/dyld.h>
11 #include <mach-o/getsect.h>
19 #include <mach/mach.h>
20 #include <mach/semaphore.h>
21 #include <mach/task.h>
22 #include <mach/vm_statistics.h>
[all …]
/external/llvm/test/ObjectYAML/MachO/
Dfat_macho_i386_x86_64.yaml3 --- !fat-mach-o
8 - cputype: 0x00000007
13 - cputype: 0x01000007
19 - FileHeader:
27 - FileHeader:
39 #CHECK: --- !fat-mach-o
44 #CHECK: - cputype: 0x00000007
49 #CHECK: - cputype: 0x01000007
55 #CHECK: - !mach-o
64 #CHECK: - !mach-o
/external/swiftshader/third_party/llvm-7.0/llvm/test/ObjectYAML/MachO/
Dfat_macho_i386_x86_64.yaml3 --- !fat-mach-o
8 - cputype: 0x00000007
13 - cputype: 0x01000007
19 - FileHeader:
27 - FileHeader:
39 #CHECK: --- !fat-mach-o
44 #CHECK: - cputype: 0x00000007
49 #CHECK: - cputype: 0x01000007
55 #CHECK: - !mach-o
64 #CHECK: - !mach-o
/external/google-breakpad/src/tools/mac/dump_syms/
Ddump_syms_tool.mm1 // -*- mode: c++ -*-
35 #include <mach-o/arch.h>
63 return a->address < b->address;
66 // Copy the CFI data from |from_module| into |to_module|, for any non-
75 from_module->GetStackFrameEntries(&from_data);
79 to_module->GetStackFrameEntries(&to_data);
86 Module::Address from_entry_end = from_entry->address + from_entry->size;
91 if (from_entry->address > (*to_it)->address)
98 if (to_it == to_data.end() || (from_entry->address < (*to_it)->address &&
99 from_entry_end < (*to_it)->address)) {
[all …]
/external/llvm/test/tools/llvm-readobj/
Dmacho-universal-x86_64.i386.test1 RUN: llvm-readobj -h %p/Inputs/macho-universal.x86_64.i386 \
2 RUN: | FileCheck %s -check-prefix MULTIHEADER
4 RUN: llvm-readobj -sections %p/Inputs/macho-universal.x86_64.i386 \
5 RUN: | FileCheck %s -check-prefix MULTISECTIONS
7 RUN: llvm-readobj -h %p/Inputs/macho-universal-archive.x86_64.i386 \
8 RUN: | FileCheck %s -check-prefix MULTIHEADER-ARCHIVE
10 RUN: llvm-readobj -sections %p/Inputs/macho-universal-archive.x86_64.i386 \
11 RUN: | FileCheck %s -check-prefix MULTISECTIONS-ARCHIVE
13 MULTIHEADER: Format: Mach-O 64-bit x86-64
18 MULTIHEADER: CpuType: X86-64 (0x1000007)
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-readobj/
Dmacho-universal-x86_64.i386.test1 RUN: llvm-readobj -h %p/Inputs/macho-universal.x86_64.i386 \
2 RUN: | FileCheck %s -check-prefix MULTIHEADER
4 RUN: llvm-readobj -sections %p/Inputs/macho-universal.x86_64.i386 \
5 RUN: | FileCheck %s -check-prefix MULTISECTIONS
7 RUN: llvm-readobj -h %p/Inputs/macho-universal-archive.x86_64.i386 \
8 RUN: | FileCheck %s -check-prefix MULTIHEADER-ARCHIVE
10 RUN: llvm-readobj -sections %p/Inputs/macho-universal-archive.x86_64.i386 \
11 RUN: | FileCheck %s -check-prefix MULTISECTIONS-ARCHIVE
13 MULTIHEADER: Format: Mach-O 64-bit x86-64
18 MULTIHEADER: CpuType: X86-64 (0x1000007)
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/test/tools/llvm-dwarfdump/X86/
Darchive.test1 RUN: llvm-dwarfdump --debug-info %S/../../dsymutil/Inputs/libfat-test.a \
3 CHECK: libfat-test.a(x86_64)(fat-test.o): file format Mach-O 64-bit x86-64
5 CHECK: libfat-test.a(i386)(fat-test.o): file format Mach-O 32-bit i386
8 RUN: llvm-dwarfdump --debug-info %S/../../dsymutil/Inputs/libfat-test.a \
9 RUN: --arch=i386 | FileCheck %s --check-prefix=I386
10 I386-NOT: 64-bit
11 I386: file format Mach-O 32-bit i386
12 I386-NOT: 64-bit
14 RUN: llvm-dwarfdump --debug-info %S/../../dsymutil/Inputs/libfat-test.a \
15 RUN: --arch=i386 --arch=x86_64 | FileCheck %s
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-nm/
Dllvm-nm.cpp1 //===-- llvm-nm.cpp - Symbol table dumping utility for llvm ---------------===//
8 //===----------------------------------------------------------------------===//
17 //===----------------------------------------------------------------------===//
53 clEnumVal(darwin, "Darwin -m format")),
55 cl::alias OutputFormat2("f", cl::desc("Alias for --format"),
61 cl::opt<bool> UndefinedOnly("undefined-only",
63 cl::alias UndefinedOnly2("u", cl::desc("Alias for --undefined-only"),
69 cl::alias DynamicSyms2("D", cl::desc("Alias for --dynamic"),
72 cl::opt<bool> DefinedOnly("defined-only",
74 cl::alias DefinedOnly2("U", cl::desc("Alias for --defined-only"),
[all …]
/external/llvm/lib/Object/
DMachOObjectFile.cpp1 //===- MachOObjectFile.cpp - Mach-O object file binding ---------*- C++ -*-===//
8 //===----------------------------------------------------------------------===//
13 //===----------------------------------------------------------------------===//
50 static T getStruct(const MachOObjectFile *O, const char *P) { in getStruct() argument
52 if (P < O->getData().begin() || P + sizeof(T) > O->getData().end()) in getStruct()
57 if (O->isLittleEndian() != sys::IsLittleEndianHost) in getStruct()
63 static Expected<T> getStructOrErr(const MachOObjectFile *O, const char *P) { in getStructOrErr() argument
65 if (P < O->getData().begin() || P + sizeof(T) > O->getData().end()) in getStructOrErr()
66 return malformedError("Structure read out-of-range"); in getStructOrErr()
70 if (O->isLittleEndian() != sys::IsLittleEndianHost) in getStructOrErr()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-size/
Dllvm-size.cpp1 //===-- llvm-size.cpp - Print the size of each object section ---*- C++ -*-===//
8 //===----------------------------------------------------------------------===//
14 //===----------------------------------------------------------------------===//
41 clEnumVal(darwin, "Darwin -m format")),
48 clEnumValN(darwin, "m", "Darwin -m format")),
69 ArchFlags("arch", cl::desc("architecture(s) from a Mach-O file to dump"),
80 cl::values(clEnumValN(octal, "o", "Print size in octal"),
87 cl::desc("Print totals of all objects - Berkeley format only"),
90 static cl::alias TotalSizesShort("t", cl::desc("Short for --totals"),
119 // "libx.a(foo.o)" after the ToolName before the error message. It sets
[all …]
/external/llvm/tools/llvm-size/
Dllvm-size.cpp1 //===-- llvm-size.cpp - Print the size of each object section ---*- C++ -*-===//
8 //===----------------------------------------------------------------------===//
14 //===----------------------------------------------------------------------===//
43 clEnumVal(darwin, "Darwin -m format"), clEnumValEnd),
50 clEnumValN(darwin, "m", "Darwin -m format"), clEnumValEnd),
67 ArchFlags("arch", cl::desc("architecture(s) from a Mach-O file to dump"),
73 Radix("-radix", cl::desc("Print size in radix. Only 8, 10, and 16 are valid"),
78 cl::values(clEnumValN(octal, "o", "Print size in octal"),
110 // "libx.a(foo.o)" after the ToolName before the error message. It sets
136 …the file name and which architecture slice it // is from, for example: "foo.o (for architecture i3…
[all …]
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_procmaps_mac.cc1 //===-- sanitizer_procmaps_mac.cc -----------------------------------------===//
8 //===----------------------------------------------------------------------===//
10 // Information about the process mappings (Mac-specific parts).
11 //===----------------------------------------------------------------------===//
19 #include <mach-o/dyld.h>
20 #include <mach-o/loader.h>
31 // More information about Mach-O headers can be found in mach-o/loader.h
32 // Each Mach-O image has a header (mach_header or mach_header_64) starting with
35 // A load command is at least two 32-bit words: the command type and the
48 // _dyld_image_count is thread-unsafe. We need to register callbacks for in Reset()
[all …]
/external/compiler-rt/test/asan/TestCases/Darwin/
Dsandbox-symbolizer.cc1 // In a non-forking sandbox, we can't spawn an external symbolizer, but dladdr()
6 // RUN: %clangxx_asan -O0 %s -o %t
7 // RUN: not %run sandbox-exec -p '(version 1)(allow default)(deny process-fork)' %t 2>&1 | FileChec…
8 // RUN: not %run sandbox-exec -p '(version 1)(allow default)(deny mach-priv-task-port)' %t 2>&1 | F…
9 …UN: env ASAN_SYMBOLIZER_PATH="" not %run sandbox-exec -p '(version 1)(allow default)(deny mach-pri…
10 // RUN: %clangxx_asan -O3 %s -o %t
11 // RUN: not %run sandbox-exec -p '(version 1)(allow default)(deny process-fork)' %t 2>&1 | FileChec…
12 // RUN: not %run sandbox-exec -p '(version 1)(allow default)(deny mach-priv-task-port)' %t 2>&1 | F…
13 …UN: env ASAN_SYMBOLIZER_PATH="" not %run sandbox-exec -p '(version 1)(allow default)(deny mach-pri…
20 // CHECK: {{.*ERROR: AddressSanitizer: heap-use-after-free on address}} in main()

12345678910>>...27