Home
last modified time | relevance | path

Searched refs:hdr (Results 1 – 25 of 77) sorted by relevance

1234

/llvm-project-15.0.7/lldb/tools/debugserver/source/MacOSX/
H A DMachException.cpp136 exc_msg.hdr.msgh_bits, exc_msg.hdr.msgh_size, in Dump()
137 exc_msg.hdr.msgh_remote_port, exc_msg.hdr.msgh_local_port, in Dump()
138 exc_msg.hdr.msgh_reserved, exc_msg.hdr.msgh_id); in Dump()
143 reply_msg.hdr.msgh_bits, reply_msg.hdr.msgh_size, in Dump()
237 exc_msg.hdr.msgh_bits, exc_msg.hdr.msgh_size, in Receive()
239 exc_msg.hdr.msgh_reserved, exc_msg.hdr.msgh_id, options, in Receive()
260 exc_msg.hdr.msgh_bits, exc_msg.hdr.msgh_size, in Receive()
286 if (mach_exc_server(&exc_msg.hdr, &reply_msg.hdr)) { in CatchExceptionRaise()
333 reply_msg.hdr.msgh_bits, reply_msg.hdr.msgh_size, in Reply()
334 reply_msg.hdr.msgh_remote_port, reply_msg.hdr.msgh_local_port, in Reply()
[all …]
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_procmaps_mac.cpp140 return (hdr->magic == MH_MAGIC || hdr->magic == MH_MAGIC_64) && in IsDyldHdr()
141 hdr->filetype == MH_DYLINKER; in IsDyldHdr()
166 if (IsDyldHdr(hdr)) { in GetDyldImageHeaderViaVMRegion()
167 return hdr; in GetDyldImageHeaderViaVMRegion()
209 mach_header *hdr = in GetDyldImageHeaderViaSharedCache()
211 if (IsDyldHdr(hdr)) in GetDyldImageHeaderViaSharedCache()
212 dyldHdr = hdr; in GetDyldImageHeaderViaSharedCache()
366 if (!hdr) continue; in Next()
370 data_.current_magic = hdr->magic; in Next()
371 data_.current_filetype = hdr->filetype; in Next()
[all …]
/llvm-project-15.0.7/clang/test/CodeGenCXX/
H A D2007-10-01-StructResize.cpp10 int Foo(Bork *hdr) { in Foo() argument
11 hdr->f1 = 7; in Foo()
12 hdr->f2 = 927; in Foo()
/llvm-project-15.0.7/lldb/test/API/functionalities/postmortem/FreeBSDKernel/tools/
H A Dlibfbsdvmcore-hacks.patch143 - if (pread(kd->pmfd, &vmst->hdr, sizeof(vmst->hdr), 0) !=
144 + if (xpread(kd->pmfd, &vmst->hdr, sizeof(vmst->hdr), 0) !=
145 sizeof(vmst->hdr)) {
156 - if (pread(kd->pmfd, &vmst->hdr, sizeof(vmst->hdr), 0) !=
157 + if (xpread(kd->pmfd, &vmst->hdr, sizeof(vmst->hdr), 0) !=
158 sizeof(vmst->hdr)) {
178 - if (pread(kd->pmfd, &vmst->hdr, sizeof(vmst->hdr), 0) !=
179 + if (xpread(kd->pmfd, &vmst->hdr, sizeof(vmst->hdr), 0) !=
180 sizeof(vmst->hdr)) {
/llvm-project-15.0.7/lld/MachO/
H A DObjC.cpp26 auto *hdr = in objectHasObjCSection() local
28 if (hdr->magic != LP::magic) in objectHasObjCSection()
32 findCommand<typename LP::segment_command>(hdr, LP::segmentLCType)) { in objectHasObjCSection()
H A DInputFiles.cpp119 const char *hdr = input->mb.getBufferStart(); in getPlatformInfos() local
130 hdr, LC_VERSION_MIN_MACOSX, LC_VERSION_MIN_IPHONEOS, in getPlatformInfos()
211 const auto *hdr = reinterpret_cast<const fat_header *>(buf); in readFile() local
213 read32be(&hdr->magic) != FAT_MAGIC) { in readFile()
1070 Architecture arch = getArchitectureFromCpuType(hdr->cputype, hdr->cpusubtype); in parse()
1099 if (const load_command *cmd = findCommand(hdr, LC_SYMTAB)) { in parse()
1116 hdr, LC_LINKER_OPTIMIZATION_HINT)) in parse()
1143 const load_command *cmd = findCommand(hdr, LC_SYMTAB); in parseLazy()
1779 deadStrippable = hdr->flags & MH_DEAD_STRIPPABLE_DYLIB; in DylibFile()
1847 for (uint32_t i = 0, n = hdr->ncmds; i < n; ++i) { in parseLoadCommands()
[all …]
H A DSyntheticSections.cpp115 hdr->magic = target->magic; in writeTo()
116 hdr->cputype = target->cpuType; in writeTo()
117 hdr->cpusubtype = cpuSubtype(); in writeTo()
118 hdr->filetype = config->outputType; in writeTo()
119 hdr->ncmds = loadCommands.size(); in writeTo()
120 hdr->sizeofcmds = sizeOfCmds; in writeTo()
121 hdr->flags = MH_DYLDLINK; in writeTo()
133 hdr->flags |= MH_PIE; in writeTo()
136 hdr->flags |= MH_APP_EXTENSION_SAFE; in writeTo()
139 hdr->flags |= MH_WEAK_DEFINES; in writeTo()
[all …]
/llvm-project-15.0.7/compiler-rt/lib/tsan/rtl-old/
H A Dtsan_rtl.cpp83 const uptr hdr = GetThreadTraceHeader(tid); in CreateThreadContext() local
85 MapThreadTrace(hdr, sizeof(Trace), name); in CreateThreadContext()
86 new((void*)hdr) Trace(); in CreateThreadContext()
90 uptr hdr_end = hdr + sizeof(Trace); in CreateThreadContext()
93 if (hdr_end < hdr + sizeof(Trace)) { in CreateThreadContext()
94 ReleaseMemoryPagesToOS(hdr_end, hdr + sizeof(Trace)); in CreateThreadContext()
95 uptr unused = hdr + sizeof(Trace) - hdr_end; in CreateThreadContext()
694 TraceHeader *hdr = &thr_trace->headers[trace]; in TraceSwitch() local
695 hdr->epoch0 = thr->fast_state.epoch(); in TraceSwitch()
696 ObtainCurrentStack(thr, 0, &hdr->stack0); in TraceSwitch()
[all …]
H A Dtsan_rtl_report.cpp398 TraceHeader* hdr = &trace->headers[partidx]; in RestoreStack() local
399 if (epoch < hdr->epoch0 || epoch >= hdr->epoch0 + kTracePartSize) in RestoreStack()
401 CHECK_EQ(RoundDown(epoch, kTracePartSize), hdr->epoch0); in RestoreStack()
408 stack.Resize(hdr->stack0.size + 64); in RestoreStack()
409 for (uptr i = 0; i < hdr->stack0.size; i++) { in RestoreStack()
410 stack[i] = hdr->stack0.trace[i]; in RestoreStack()
414 *mset = hdr->mset0; in RestoreStack()
415 uptr pos = hdr->stack0.size; in RestoreStack()
/llvm-project-15.0.7/lld/ELF/
H A DInputSection.cpp47 if (hdr.sh_type == SHT_NOBITS) in getSectionContents()
48 return makeArrayRef<uint8_t>(nullptr, hdr.sh_size); in getSectionContents()
49 return check(file.getObj().getSectionContents(hdr)); in getSectionContents()
93 : InputSectionBase(&file, getFlags(hdr.sh_flags), hdr.sh_type, in InputSectionBase()
94 hdr.sh_entsize, hdr.sh_link, hdr.sh_info, in InputSectionBase()
95 hdr.sh_addralign, getSectionContents(file, hdr), name, in InputSectionBase()
100 if (hdr.sh_addralign > UINT32_MAX) in InputSectionBase()
210 if (hdr->ch_type == ELFCOMPRESS_ZLIB) { in parseCompressedHeader()
216 Twine(hdr->ch_type) + ")"); in parseCompressedHeader()
220 uncompressedSize = hdr->ch_size; in parseCompressedHeader()
[all …]
/llvm-project-15.0.7/lld/test/ELF/
H A Deh-frame-pcrel-overflow.s5 # RUN: ld.lld --eh-frame-hdr -Ttext=0x90000000 %t.o -o /dev/null
6 # RUN: not ld.lld --eh-frame-hdr %t.o %t1.o -o /dev/null 2>&1 | FileCheck %s
H A Dmips64-eh-abs-reloc.s5 # RUN: ld.lld --eh-frame-hdr -shared -z notext -o %t.so %t.o --no-check-dynamic-relocations
11 # RUN: ld.lld --eh-frame-hdr -Bdynamic -pie -z notext -o %t-pie-dynamic.exe %t.o %t-foo.o --no-chec…
H A Drelocatable-eh-frame-hdr.s3 # RUN: ld.lld --eh-frame-hdr -r %t.o -o %t
H A Dinvalid-eh-frame9.s4 # RUN: not ld.lld --eh-frame-hdr %t -o /dev/null 2>&1 | FileCheck %s
H A Dinvalid-eh-frame.s4 # RUN: not ld.lld --eh-frame-hdr %t -o /dev/null 2>&1 | FileCheck %s
H A Deh-frame-value-format4.s4 # RUN: ld.lld --eh-frame-hdr %t -o /dev/null
H A Deh-frame-value-format3.s4 # RUN: ld.lld --eh-frame-hdr %t -o /dev/null
/llvm-project-15.0.7/clang/test/Analysis/
H A Dnonnull.m46 struct rdar16153464_header hdr;
51 struct rdar16153464_header hdr; field
57 struct rdar16153464_header *hdr;
65 struct rdar16153464_header *hdr;
/llvm-project-15.0.7/llvm/test/DebugInfo/X86/
H A Dref_addr_relocation.ll24 ; cat hdr.h
28 ; #include "hdr.h"
31 ; #include "hdr.h"
81 !4 = !DIFile(filename: "./hdr.h", directory: "/Users/manmanren/test-Nov/type_unique_air/ref_addr")
/llvm-project-15.0.7/bolt/utils/
H A Dllvm-bolt-wrapper.py239 hdr = readelf_hdr.split('\n')
242 for line in hdr[5:-1]:
381 mismatch, hdr = compare_with(main_binary, cmp_binary, 'objdump -hw',
386 section = find_section(mismatch_offset, hdr)
/llvm-project-15.0.7/lld/COFF/
H A DInputFiles.cpp934 const auto *hdr = reinterpret_cast<const coff_import_header *>(buf); in parse() local
937 if (mb.getBufferSize() != sizeof(*hdr) + hdr->SizeOfData) in parse()
941 StringRef name = saver().save(StringRef(buf + sizeof(*hdr))); in parse()
946 switch (hdr->getNameType()) { in parse()
962 this->hdr = hdr; in parse()
971 if (hdr->getType() == llvm::COFF::IMPORT_CONST) in parse()
977 if (hdr->getType() == llvm::COFF::IMPORT_CODE) in parse()
979 name, cast_or_null<DefinedImportData>(impSym), hdr->Machine); in parse()
/llvm-project-15.0.7/clang/test/Sema/
H A Daddress-packed.c312 S10Header hdr; member
318 void g11(S10Header *hdr);
320 g11(&s->hdr); // no-warning in g12()
/llvm-project-15.0.7/lld/test/ELF/linkerscript/
H A Dsynthetic-symbols2.test3 # RUN: ld.lld -o %t.exe --eh-frame-hdr --script %s %t
H A Dpt_gnu_eh_frame.s4 # RUN: ld.lld -o /dev/null --eh-frame-hdr --script %t.script %t
/llvm-project-15.0.7/clang/test/CodeGen/
H A Dmms-bitfields.c62 union HEADER hdr = {{1,2,3,4}}; variable

1234