Home
last modified time | relevance | path

Searched refs:Characteristics (Results 1 – 25 of 42) sorted by relevance

12

/external/llvm/lib/Object/
DCOFFYAML.cpp192 void ScalarBitSetTraits<COFF::Characteristics>::bitset( in bitset()
193 IO &IO, COFF::Characteristics &Value) { in bitset()
264 : Characteristics(COFFYAML::WeakExternalCharacteristics(0)) {} in NWeakExternalCharacteristics()
266 : Characteristics(COFFYAML::WeakExternalCharacteristics(C)) {} in NWeakExternalCharacteristics()
267 uint32_t denormalize(IO &) { return Characteristics; } in denormalize()
268 COFFYAML::WeakExternalCharacteristics Characteristics; member
273 : Characteristics(COFF::SectionCharacteristics(0)) {} in NSectionCharacteristics()
275 : Characteristics(COFF::SectionCharacteristics(C)) {} in NSectionCharacteristics()
276 uint32_t denormalize(IO &) { return Characteristics; } in denormalize()
277 COFF::SectionCharacteristics Characteristics; member
[all …]
DCOFFObjectFile.cpp201 uint32_t Characteristics = Section->Characteristics; in getSymbolType() local
202 if (Characteristics & COFF::IMAGE_SCN_CNT_CODE) in getSymbolType()
204 else if (Characteristics & (COFF::IMAGE_SCN_CNT_INITIALIZED_DATA | in getSymbolType()
349 return uint64_t(1) << (((Sec->Characteristics & 0x00F00000) >> 20) - 1); in getSectionAlignment()
354 return Sec->Characteristics & COFF::IMAGE_SCN_CNT_CODE; in isSectionText()
359 return Sec->Characteristics & COFF::IMAGE_SCN_CNT_INITIALIZED_DATA; in isSectionData()
367 return (Sec->Characteristics & BssFlags) == BssFlags; in isSectionBSS()
995 assert((Sec->Characteristics & COFF::IMAGE_SCN_CNT_UNINITIALIZED_DATA) == 0 && in getSectionContents()
/external/llvm/include/llvm/MC/
DMCSectionCOFF.h34 mutable unsigned Characteristics; variable
47 MCSectionCOFF(StringRef Section, unsigned Characteristics, in MCSectionCOFF() argument
51 Characteristics(Characteristics), COMDATSymbol(COMDATSymbol), in MCSectionCOFF()
53 assert ((Characteristics & 0x00F00000) == 0 && in MCSectionCOFF()
64 unsigned getCharacteristics() const { return Characteristics; } in getCharacteristics()
/external/llvm/lib/MC/
DWinCOFFObjectWriter.cpp326 coff_section->Header.Characteristics = Sec.getCharacteristics(); in DefineSection()
328 uint32_t &Characteristics = coff_section->Header.Characteristics; in DefineSection() local
330 case 1: Characteristics |= COFF::IMAGE_SCN_ALIGN_1BYTES; break; in DefineSection()
331 case 2: Characteristics |= COFF::IMAGE_SCN_ALIGN_2BYTES; break; in DefineSection()
332 case 4: Characteristics |= COFF::IMAGE_SCN_ALIGN_4BYTES; break; in DefineSection()
333 case 8: Characteristics |= COFF::IMAGE_SCN_ALIGN_8BYTES; break; in DefineSection()
334 case 16: Characteristics |= COFF::IMAGE_SCN_ALIGN_16BYTES; break; in DefineSection()
335 case 32: Characteristics |= COFF::IMAGE_SCN_ALIGN_32BYTES; break; in DefineSection()
336 case 64: Characteristics |= COFF::IMAGE_SCN_ALIGN_64BYTES; break; in DefineSection()
337 case 128: Characteristics |= COFF::IMAGE_SCN_ALIGN_128BYTES; break; in DefineSection()
[all …]
DMCContext.cpp348 MCContext::getCOFFSection(StringRef Section, unsigned Characteristics, in getCOFFSection() argument
370 CachedName, Characteristics, COMDATSymbol, Selection, Kind, Begin); in getCOFFSection()
377 unsigned Characteristics, in getCOFFSection() argument
380 return getCOFFSection(Section, Characteristics, Kind, "", 0, BeginSymName); in getCOFFSection()
400 unsigned Characteristics = in getAssociativeCOFFSection() local
402 return getCOFFSection(Sec->getSectionName(), Characteristics, Sec->getKind(), in getAssociativeCOFFSection()
DMCSectionCOFF.cpp36 Characteristics |= COFF::IMAGE_SCN_LNK_COMDAT; in setSelection()
/external/llvm/test/Object/
Dyaml2obj-coff-multi-doc.test15 Characteristics: [ IMAGE_FILE_DEBUG_STRIPPED ]
20 Characteristics: [ IMAGE_SCN_CNT_CODE, IMAGE_SCN_MEM_EXECUTE,
55 Characteristics: [ IMAGE_FILE_DEBUG_STRIPPED ]
60 Characteristics: [ IMAGE_SCN_CNT_CODE, IMAGE_SCN_MEM_EXECUTE,
Dobj2yaml-coff-weak-external.test3 COFF-I386: Characteristics: 0
/external/llvm/include/llvm/Object/
DCOFFYAML.h24 inline Characteristics operator|(Characteristics a, Characteristics b) {
26 return static_cast<Characteristics>(Ret);
151 struct ScalarBitSetTraits<COFF::Characteristics> { in LLVM_YAML_IS_SEQUENCE_VECTOR()
152 static void bitset(IO &IO, COFF::Characteristics &Value); in LLVM_YAML_IS_SEQUENCE_VECTOR()
DCOFF.h69 support::ulittle16_t Characteristics; member
386 support::ulittle32_t Characteristics; member
391 return (Characteristics & COFF::IMAGE_SCN_LNK_NRELOC_OVFL) && in hasExtendedRelocations()
418 support::ulittle32_t Characteristics; member
445 support::ulittle32_t Characteristics; member
545 return COFFHeader->isImportLibrary() ? 0 : COFFHeader->Characteristics; in getCharacteristics()
/external/llvm/test/MC/ARM/Windows/
Dmultiple-text-sections.s32 @ CHECK: Characteristics [
41 @ CHECK: Characteristics [
50 @ CHECK: Characteristics [
Dtext-attributes.s21 @ CHECK: Characteristics [
/external/llvm/tools/obj2yaml/
Dcoff2yaml.cpp99 YAMLObj.Header.Characteristics = Obj.getCharacteristics(); in dumpHeader()
108 NewYAMLSection.Header.Characteristics = COFFSection->Characteristics; in dumpSections()
159 YAMLWE.Characteristics = ObjWE->Characteristics; in dumpWeakExternal()
/external/llvm/test/tools/llvm-readobj/
Dbigobj.test14 CHECK-NEXT: Characteristics [ (0x0)
29 CHECK-NEXT: Characteristics [ (0x60500020)
47 CHECK-NEXT: Characteristics [ (0xC0500040)
65 CHECK-NEXT: Characteristics [ (0xC0500080)
Dpeplus.test13 CHECK: Characteristics [ (0x22)
38 CHECK: Characteristics [ (0x8160)
Dfile-headers.test39 COFF-ARM-NEXT: Characteristics [ (0x0)
54 COFF32-NEXT: Characteristics [ (0x0)
69 COFF64-NEXT: Characteristics [ (0x0)
228 PE32-NEXT: Characteristics [ (0x102)
254 PE32-NEXT: Characteristics [ (0x8140)
329 COFF-UNKNOWN-NEXT: Characteristics [ (0x0)
343 COFF-IMPORTLIB-NEXT: Characteristics [ (0x0)
/external/llvm/lib/CodeGen/
DTargetLoweringObjectFileImpl.cpp868 unsigned Characteristics = getCOFFSectionFlags(Kind); in getExplicitSectionGlobal() local
882 Characteristics |= COFF::IMAGE_SCN_LNK_COMDAT; in getExplicitSectionGlobal()
888 Characteristics, in getExplicitSectionGlobal()
920 unsigned Characteristics = getCOFFSectionFlags(Kind); in SelectSectionForGlobal() local
922 Characteristics |= COFF::IMAGE_SCN_LNK_COMDAT; in SelectSectionForGlobal()
935 return getContext().getCOFFSection(Name, Characteristics, Kind, in SelectSectionForGlobal()
940 return getContext().getCOFFSection(Name, Characteristics, Kind, TmpData, in SelectSectionForGlobal()
992 unsigned Characteristics = getCOFFSectionFlags(Kind); in getSectionForJumpTable() local
993 Characteristics |= COFF::IMAGE_SCN_LNK_COMDAT; in getSectionForJumpTable()
995 return getContext().getCOFFSection(Name, Characteristics, Kind, COMDATSymName, in getSectionForJumpTable()
/external/llvm/docs/
Dyaml2obj.rst25 Characteristics: [ IMAGE_SCN_CNT_CODE
87 Characteristics:
114 Characteristics:
/external/llvm/include/llvm/Support/
DCOFF.h62 uint16_t Characteristics; member
109 enum Characteristics { enum
254 uint32_t Characteristics; member
384 uint32_t Characteristics; member
/external/llvm/lib/MC/MCParser/
DCOFFAsmParser.cpp36 unsigned Characteristics,
39 bool ParseSectionSwitch(StringRef Section, unsigned Characteristics,
293 unsigned Characteristics, in ParseSectionSwitch() argument
295 return ParseSectionSwitch(Section, Characteristics, Kind, "", (COFF::COMDATType)0); in ParseSectionSwitch()
299 unsigned Characteristics, in ParseSectionSwitch() argument
308 Section, Characteristics, Kind, COMDATSymName, Type)); in ParseSectionSwitch()
/external/llvm/tools/yaml2obj/
Dyaml2coff.cpp86 Sec.Header.Characteristics |= (Log2_32(Sec.Alignment) + 1) << 20; in parseSections()
301 if (S.Header.Characteristics & COFF::IMAGE_SCN_CNT_CODE) in initializeOptionalHeader()
303 if (S.Header.Characteristics & COFF::IMAGE_SCN_CNT_INITIALIZED_DATA) in initializeOptionalHeader()
305 if (S.Header.Characteristics & COFF::IMAGE_SCN_CNT_UNINITIALIZED_DATA) in initializeOptionalHeader()
390 << binary_le(CP.Obj.Header.Characteristics); in writeCOFF()
431 << binary_le(i->Header.Characteristics); in writeCOFF()
492 << binary_le(i->WeakExternal->Characteristics) in writeCOFF()
/external/llvm/lib/Target/X86/
DX86TargetObjectFile.cpp172 unsigned Characteristics = COFF::IMAGE_SCN_CNT_INITIALIZED_DATA | in getSectionForConstant() local
175 return getContext().getCOFFSection(".rdata", Characteristics, Kind, in getSectionForConstant()
/external/llvm/test/MC/COFF/
Ddirective-section-characteristics.ll17 ; CHECK: Characteristics [
Dmodule-asm.ll20 ; CHECK-NEXT: Characteristics [ (0x60300020)
/external/llvm/tools/llvm-nm/
Dllvm-nm.cpp700 uint32_t Characteristics = 0; in getSymbolNMTypeChar() local
706 Characteristics = Section->Characteristics; in getSymbolNMTypeChar()
714 if (Characteristics & COFF::IMAGE_SCN_CNT_CODE) in getSymbolNMTypeChar()
716 if (Characteristics & COFF::IMAGE_SCN_CNT_INITIALIZED_DATA) in getSymbolNMTypeChar()
717 return Characteristics & COFF::IMAGE_SCN_MEM_WRITE ? 'd' : 'r'; in getSymbolNMTypeChar()
718 if (Characteristics & COFF::IMAGE_SCN_CNT_UNINITIALIZED_DATA) in getSymbolNMTypeChar()
720 if (Characteristics & COFF::IMAGE_SCN_LNK_INFO) in getSymbolNMTypeChar()

12