Lines Matching +full:rw +full:- +full:p

1 //===----------------------------------------------------------------------===//
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //===----------------------------------------------------------------------===//
13 // REQUIRES: target={{.+}}-aix{{.*}}
16 // RUN: %{cxx} -x c++ %s -o %t.exe -DCXX_CODE %{flags} %{compile_flags}
20 // RUN: %{cxx} -x c++ -c %s -o %t1.o -DCXX_CODE -DNOBACKCHAIN %{flags} \
22 // RUN: %{cxx} -c %s -o %t2.o %{flags} %{compile_flags}
23 // RUN: %{cxx} -o %t1.exe %t1.o %t2.o %{flags} %{link_flags}
48 uint32_t *p = reinterpret_cast<uint32_t *>(pc);
52 while (*p)
53 ++p;
54 tbtable *TBTable = reinterpret_cast<tbtable *>(p + 1);
56 if (!TBTable->tb.name_present)
60 p = reinterpret_cast<uint32_t *>(&TBTable->tb_ext);
63 if (TBTable->tb.fixedparms || TBTable->tb.floatparms)
64 ++p;
67 if (TBTable->tb.has_tboff)
68 ++p;
71 if (TBTable->tb.int_hndl)
72 ++p;
75 if (TBTable->tb.has_ctl)
76 p += 1 + *p;
78 *nameLen = *reinterpret_cast<uint16_t *>(p);
79 return reinterpret_cast<char *>(p) + sizeof(uint16_t);
147 .globl abc[DS] # -- Begin function abc
171 .byte 0x20 # -IsGlobaLinkage, -IsOutOfLineEpilogOrPrologue
172 # +HasTraceBackTableOffset, -IsInternalProcedure
173 # -HasControlledStorage, -IsTOCless
174 # -IsFloatingPointPresent
175 # -IsFloatingPointOperationLogOrAbortEnabled
176 .byte 0x61 # -IsInterruptHandler, +IsFunctionNamePresent, +IsAllocaUsed
177 # OnConditionDirective = 0, -IsCRSaved, +IsLRSaved
178 .byte 0x00 # -IsBackChainStored, -IsFixup, NumOfFPRsSaved = 0
179 .byte 0x01 # -HasExtensionTable, -HasVectorInfo, NumOfGPRsSaved = 1
182 .vbyte 4, L..abc0-.abc # Function size
186 # -- End function
187 .csect badp[RW],3
188 .globl badp[RW] # @badp
193 .tc badp[TC],badp[RW]
197 .globl abc[DS] # -- Begin function abc
221 .byte 0x20 # -IsGlobaLinkage, -IsOutOfLineEpilogOrPrologue
222 # +HasTraceBackTableOffset, -IsInternalProcedure
223 # -HasControlledStorage, -IsTOCless
224 # -IsFloatingPointPresent
225 # -IsFloatingPointOperationLogOrAbortEnabled
226 .byte 0x61 # -IsInterruptHandler, +IsFunctionNamePresent, +IsAllocaUsed
227 # OnConditionDirective = 0, -IsCRSaved, +IsLRSaved
228 .byte 0x00 # -IsBackChainStored, -IsFixup, NumOfFPRsSaved = 0
229 .byte 0x01 # -HasExtensionTable, -HasVectorInfo, NumOfGPRsSaved = 1
232 .vbyte 4, L..abc0-.abc # Function size
236 # -- End function
237 .csect badp[RW],2
238 .globl badp[RW] # @badp
243 .tc badp[TC],badp[RW]