reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/lld/COFF/Chunks.cpp
  187   if (os && (os->header.Characteristics & IMAGE_SCN_MEM_EXECUTE))
tools/lld/COFF/PDB.cpp
  964     sc.Characteristics = os ? os->header.Characteristics : 0;
 1487   sym.Characteristics = os.header.Characteristics;
tools/lld/COFF/Writer.cpp
  303   header.Characteristics &= ~permMask;
  304   header.Characteristics |= c;
  318   *hdr = header;
  892     if (s->header.Characteristics & IMAGE_SCN_MEM_DISCARDABLE)
 1149     if ((sec->header.Characteristics & IMAGE_SCN_MEM_DISCARDABLE) == 0)
 1228     sec->header.VirtualAddress = rva;
 1233         (sec->header.Characteristics & IMAGE_SCN_CNT_CODE) &&
 1234         (sec->header.Characteristics & IMAGE_SCN_MEM_READ) &&
 1235         (sec->header.Characteristics & IMAGE_SCN_MEM_EXECUTE);
 1249     sec->header.VirtualSize = virtualSize;
 1250     sec->header.SizeOfRawData = rawSize;
 1252       sec->header.PointerToRawData = fileSize;
 1752     if (sec->header.Characteristics & IMAGE_SCN_CNT_CODE)
 1886     if (s->header.Characteristics & IMAGE_SCN_CNT_INITIALIZED_DATA)
 1898     if (sec->header.Characteristics & IMAGE_SCN_MEM_DISCARDABLE)
tools/lld/COFF/Writer.h
   42     header.Characteristics = chars;
   48   uint64_t getRVA() { return header.VirtualAddress; }
   49   uint64_t getFileOff() { return header.PointerToRawData; }
   58   uint64_t getVirtualSize() { return header.VirtualSize; }
   61   uint64_t getRawSize() { return header.SizeOfRawData; }