| /openbsd-src/gnu/llvm/llvm/lib/ObjCopy/MachO/ |
| H A D | MachOReader.h | 27 virtual Expected<std::unique_ptr<Object>> create() const = 0; 33 void readHeader(Object &O) const; 34 Error readLoadCommands(Object &O) const; 35 void readSymbolTable(Object &O) const; 36 void setSymbolInRelocationInfo(Object &O) const; 37 void readRebaseInfo(Object &O) const; 38 void readBindInfo(Object &O) const; 39 void readWeakBindInfo(Object &O) const; 40 void readLazyBindInfo(Object &O) const; 41 void readExportInfo(Object &O) const; [all …]
|
| /openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/g++.old-deja/g++.mike/ |
| H A D | p658.C | 14 class Object { 16 Object(); 17 Object(const Object&); 18 ~Object(); 25 class Char: public Object { 48 Object::Object(): in Object() function 52 Object::Object(const Object& other): in Object() function 58 Object::~Object() in ~Object() 65 Object::OK() const in OK() 78 Object(), in Char() [all …]
|
| H A D | p3060d.C | 7 class Object; variable 9 typedef void (Object::*VoidObjMemberFunc)(Object *, ...); 11 class Object { 16 class Clipper: public Object { 19 void Feedback(Object*, void*); 21 void Clipper::Feedback(Object *tracker, void *ap) { in Feedback() 25 void vfunc(VoidObjMemberFunc of, Object *op, void *v1) { in vfunc() 30 Object o; in main()
|
| H A D | p6927.C | 3 class Object { 5 Object(); 9 Object::Object() : Value(-1) { } in Object() function 11 Object *pArr = new Object[2];
|
| /openbsd-src/gnu/llvm/clang/lib/Basic/ |
| H A D | Sarif.cpp | 145 json::Object createMessage(StringRef Text) { in createMessage() 146 return json::Object{{"text", Text.str()}}; in createMessage() 151 static json::Object createTextRegion(const SourceManager &SM, in createTextRegion() 155 json::Object Region{{"startLine", BeginCharLoc.getExpansionLineNumber()}, in createTextRegion() 167 static json::Object createLocation(json::Object &&PhysicalLocation, in createLocation() 169 json::Object Ret{{"physicalLocation", std::move(PhysicalLocation)}}; in createLocation() 202 static json::Object 203 createThreadFlowLocation(json::Object &&Location, in createThreadFlowLocation() 205 return json::Object{{"location", std::move(Location)}, in createThreadFlowLocation() 210 json::Object [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/ObjectYAML/ |
| H A D | ObjectYAML.cpp | 26 MappingTraits<ELFYAML::Object>::mapping(IO, *ObjectFile.Elf); in mapping() 28 MappingTraits<COFFYAML::Object>::mapping(IO, *ObjectFile.Coff); in mapping() 30 MappingTraits<MachOYAML::Object>::mapping(IO, *ObjectFile.MachO); in mapping() 44 ObjectFile.Elf.reset(new ELFYAML::Object()); in mapping() 45 MappingTraits<ELFYAML::Object>::mapping(IO, *ObjectFile.Elf); in mapping() 47 ObjectFile.Coff.reset(new COFFYAML::Object()); in mapping() 48 MappingTraits<COFFYAML::Object>::mapping(IO, *ObjectFile.Coff); in mapping() 50 ObjectFile.MachO.reset(new MachOYAML::Object()); in mapping() 51 MappingTraits<MachOYAML::Object>::mapping(IO, *ObjectFile.MachO); in mapping() 57 ObjectFile.Minidump.reset(new MinidumpYAML::Object()); in mapping() [all …]
|
| /openbsd-src/gnu/llvm/clang/lib/ExtractAPI/Serialization/ |
| H A D | SymbolGraphSerializer.cpp | 41 void serializeObject(Object &Paren, StringRef Key, std::optional<Object> Obj) { in serializeObject() 48 void serializeArray(Object &Paren, StringRef Key, std::optional<Array> Array) { in serializeArray() 69 std::optional<Object> serializeSemanticVersion(const VersionTuple &V) { in serializeSemanticVersion() 73 Object Version; in serializeSemanticVersion() 84 Object serializeOperatingSystem(const Triple &T) { in serializeOperatingSystem() 85 Object OS; in serializeOperatingSystem() 96 Object serializePlatform(const Triple &T) { in serializePlatform() 97 Object Platform; in serializePlatform() 105 Object serializeSourcePosition(const PresumedLoc &Loc) { in serializeSourcePosition() 108 Object SourcePosition; in serializeSourcePosition() [all …]
|
| /openbsd-src/gnu/llvm/lldb/tools/lldb-vscode/ |
| H A D | JSONUtils.h | 33 void EmplaceSafeString(llvm::json::Object &obj, llvm::StringRef key, 59 llvm::StringRef GetString(const llvm::json::Object &obj, llvm::StringRef key); 60 llvm::StringRef GetString(const llvm::json::Object *obj, llvm::StringRef key); 75 uint64_t GetUnsigned(const llvm::json::Object &obj, llvm::StringRef key, 77 uint64_t GetUnsigned(const llvm::json::Object *obj, llvm::StringRef key, 93 bool GetBoolean(const llvm::json::Object &obj, llvm::StringRef key, 95 bool GetBoolean(const llvm::json::Object *obj, llvm::StringRef key, 111 int64_t GetSigned(const llvm::json::Object &obj, llvm::StringRef key, 113 int64_t GetSigned(const llvm::json::Object *obj, llvm::StringRef key, 126 bool ObjectContainsKey(const llvm::json::Object &obj, llvm::StringRef key); [all …]
|
| H A D | lldb-vscode.cpp | 104 typedef void (*RequestCallback)(const llvm::json::Object &command); 174 llvm::json::Object event(CreateEventObject("exited")); in SendProcessExitedEvent() 175 llvm::json::Object body; in SendProcessExitedEvent() 182 llvm::json::Object event(CreateEventObject("thread")); in SendThreadExitedEvent() 183 llvm::json::Object body; in SendThreadExitedEvent() 210 llvm::json::Object event(CreateTerminatedEventObject()); in SendTerminatedEvent() 351 llvm::json::Object event(CreateEventObject("process")); in SendProcessEvent() 352 llvm::json::Object body; in SendProcessEvent() 493 llvm::json::Object body; in EventThreadFunction() 520 void SetSourceMapFromArguments(const llvm::json::Object &arguments) { in SetSourceMapFromArguments() [all …]
|
| H A D | JSONUtils.cpp | 34 void EmplaceSafeString(llvm::json::Object &obj, llvm::StringRef key, in EmplaceSafeString() 49 llvm::StringRef GetString(const llvm::json::Object &obj, llvm::StringRef key) { in GetString() 55 llvm::StringRef GetString(const llvm::json::Object *obj, llvm::StringRef key) { in GetString() 63 uint64_t GetUnsigned(const llvm::json::Object &obj, llvm::StringRef key, in GetUnsigned() 70 uint64_t GetUnsigned(const llvm::json::Object *obj, llvm::StringRef key, in GetUnsigned() 77 bool GetBoolean(const llvm::json::Object &obj, llvm::StringRef key, in GetBoolean() 86 bool GetBoolean(const llvm::json::Object *obj, llvm::StringRef key, in GetBoolean() 93 int64_t GetSigned(const llvm::json::Object &obj, llvm::StringRef key, in GetSigned() 100 int64_t GetSigned(const llvm::json::Object *obj, llvm::StringRef key, in GetSigned() 107 bool ObjectContainsKey(const llvm::json::Object &obj, llvm::StringRef key) { in ObjectContainsKey() [all …]
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/ObjectYAML/ |
| H A D | yaml2obj.h | 28 struct Object; 32 struct Object; 36 struct Object; 44 struct Object; 48 struct Object; 56 struct Object; 66 bool yaml2coff(COFFYAML::Object &Doc, raw_ostream &Out, ErrorHandler EH); 67 bool yaml2elf(ELFYAML::Object &Doc, raw_ostream &Out, ErrorHandler EH, 70 bool yaml2minidump(MinidumpYAML::Object &Doc, raw_ostream &Out, 73 bool yaml2wasm(WasmYAML::Object &Doc, raw_ostream &Out, ErrorHandler EH); [all …]
|
| H A D | ObjectYAML.h | 31 std::unique_ptr<ELFYAML::Object> Elf; 32 std::unique_ptr<COFFYAML::Object> Coff; 33 std::unique_ptr<MachOYAML::Object> MachO; 35 std::unique_ptr<MinidumpYAML::Object> Minidump; 37 std::unique_ptr<WasmYAML::Object> Wasm; 38 std::unique_ptr<XCOFFYAML::Object> Xcoff; 39 std::unique_ptr<DXContainerYAML::Object> DXContainer;
|
| H A D | MinidumpYAML.h | 201 struct Object { struct 202 Object() = default; 203 Object(const Object &) = delete; 204 Object &operator=(const Object &) = delete; argument 205 Object(Object &&) = default; 206 Object &operator=(Object &&) = default; argument 208 Object(const minidump::Header &Header, in Object() argument 218 static Expected<Object> create(const object::MinidumpFile &File); argument 279 LLVM_YAML_DECLARE_MAPPING_TRAITS(llvm::MinidumpYAML::Object)
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/BinaryFormat/ |
| H A D | MsgPackReader.h | 76 struct Object { struct 95 Object() : Kind(Type::Int), Int(0) {} in Object() argument 123 Expected<bool> read(Object &Obj); 136 template <class T> Expected<bool> readRaw(Object &Obj); 137 template <class T> Expected<bool> readInt(Object &Obj); 138 template <class T> Expected<bool> readUInt(Object &Obj); 139 template <class T> Expected<bool> readLength(Object &Obj); 140 template <class T> Expected<bool> readExt(Object &Obj); 141 Expected<bool> createRaw(Object &Obj, uint32_t Size); 142 Expected<bool> createExt(Object &Obj, uint32_t Size);
|
| /openbsd-src/gnu/llvm/lldb/tools/debugserver/source/ |
| H A D | JSONGenerator.h | 28 class Object; 37 typedef std::shared_ptr<Object> ObjectSP; 58 class Object : public std::enable_shared_from_this<Object> { 60 Object(Type t = Type::eTypeInvalid) : m_type(t) {} in m_type() 62 virtual ~Object() {} in ~Object() 122 class Array : public Object { 124 Array() : Object(Type::eTypeArray) {} in Array() 157 class Integer : public Object { 159 Integer(uint64_t value = 0) : Object(Type::eTypeInteger), m_value(value) {} in Object() function 173 class Float : public Object { [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Support/ |
| H A D | JSON.cpp | 22 Value &Object::operator[](const ObjectKey &K) { in operator []() 25 Value &Object::operator[](ObjectKey &&K) { in operator []() 28 Value *Object::get(StringRef K) { in get() 34 const Value *Object::get(StringRef K) const { in get() 40 std::optional<std::nullptr_t> Object::getNull(StringRef K) const { in getNull() 45 std::optional<bool> Object::getBoolean(StringRef K) const { in getBoolean() 50 std::optional<double> Object::getNumber(StringRef K) const { in getNumber() 55 std::optional<int64_t> Object::getInteger(StringRef K) const { in getInteger() 60 std::optional<llvm::StringRef> Object::getString(StringRef K) const { in getString() 65 const json::Object *Object::getObject(StringRef K) const { in getObject() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/ObjCopy/COFF/ |
| H A D | COFFObject.cpp | 19 void Object::addSymbols(ArrayRef<Symbol> NewSymbols) { in addSymbols() 27 void Object::updateSymbols() { in updateSymbols() 33 const Symbol *Object::findSymbol(size_t UniqueId) const { in findSymbol() 37 Error Object::removeSymbols( in removeSymbols() 53 Error Object::markSymbols() { in markSymbols() 68 void Object::addSections(ArrayRef<Section> NewSections) { in addSections() 76 void Object::updateSections() { in updateSections() 85 const Section *Object::findSection(ssize_t UniqueId) const { in findSection() 89 void Object::removeSections(function_ref<bool(const Section &)> ToRemove) { in removeSections() 120 void Object::truncateSections(function_ref<bool(const Section &)> ToTruncate) { in truncateSections()
|
| H A D | COFFReader.h | 20 struct Object; 27 Error readExecutableHeaders(Object &Obj) const; 28 Error readSections(Object &Obj) const; 29 Error readSymbols(Object &Obj, bool IsBigObj) const; 30 Error setSymbolTargets(Object &Obj) const; 34 Expected<std::unique_ptr<Object>> create() const;
|
| /openbsd-src/gnu/llvm/lldb/include/lldb/Utility/ |
| H A D | StructuredData.h | 52 class Object; 61 typedef std::shared_ptr<Object> ObjectSP; 70 class Object : public std::enable_shared_from_this<Object> { 72 Object(lldb::StructuredDataType t = lldb::eStructuredDataTypeInvalid) 75 virtual ~Object() = default; 171 class Array : public Object { 173 Array() : Object(lldb::eStructuredDataTypeArray) {} in Array() 178 ForEach(std::function<bool(Object *object)> const &foreach_callback) const { in ForEach() 293 class Integer : public Object { 296 : Object(lldb::eStructuredDataTypeInteger), m_value(i) {} in Object() function [all …]
|
| /openbsd-src/gnu/usr.bin/clang/libLLVMObject/ |
| H A D | Makefile | 6 CPPFLAGS+= -I${LLVM_SRCS}/include/llvm/Object 27 Object.cpp \ 43 ln -s ${LLVM_SRCS}/lib/Object/DXContainer.cpp $@ 46 ln -s ${LLVM_SRCS}/lib/Object/ELF.cpp $@ 49 ln -s ${LLVM_SRCS}/lib/Object/Error.cpp $@ 52 ln -s ${LLVM_SRCS}/lib/Object/Minidump.cpp $@ 54 .PATH: ${.CURDIR}/../../../llvm/llvm/lib/Object
|
| /openbsd-src/gnu/llvm/llvm/tools/llvm-cov/ |
| H A D | CoverageExporterJson.cpp | 137 json::Object renderExpansion(const coverage::CoverageMapping &Coverage, in renderExpansion() 140 return json::Object( in renderExpansion() 151 json::Object renderSummary(const FileCoverageSummary &Summary) { in renderSummary() 152 return json::Object( in renderSummary() 154 json::Object({{"count", int64_t(Summary.LineCoverage.getNumLines())}, in renderSummary() 158 json::Object( in renderSummary() 163 json::Object( in renderSummary() 169 json::Object( in renderSummary() 176 json::Object( in renderSummary() 209 json::Object renderFile(const coverage::CoverageMapping &Coverage, in renderFile() [all …]
|
| /openbsd-src/gnu/llvm/llvm/tools/obj2yaml/ |
| H A D | macho2yaml.cpp | 29 MachOYAML::Object &Y); 34 void dumpHeader(std::unique_ptr<MachOYAML::Object> &Y); 35 Error dumpLoadCommands(std::unique_ptr<MachOYAML::Object> &Y); 36 void dumpLinkEdit(std::unique_ptr<MachOYAML::Object> &Y); 37 void dumpRebaseOpcodes(std::unique_ptr<MachOYAML::Object> &Y); 38 void dumpFunctionStarts(std::unique_ptr<MachOYAML::Object> &Y); 41 void dumpExportTrie(std::unique_ptr<MachOYAML::Object> &Y); 42 void dumpSymbols(std::unique_ptr<MachOYAML::Object> &Y); 43 void dumpIndirectSymbols(std::unique_ptr<MachOYAML::Object> &Y); 44 void dumpChainedFixups(std::unique_ptr<MachOYAML::Object> &Y); [all …]
|
| /openbsd-src/gnu/usr.bin/perl/cpan/Pod-Simple/t/ |
| H A D | fcodes_l.t | 51 is( $x->_out(qq{=pod\n\nL</"Object Methods">\n}), 52 '<Document><Para><L content-implicit="yes" raw="/"Object Methods"" section="Object Methods" type="pod">"Object Methods"</L></Para></Document>' 54 is( $x->_out(qq{=pod\n\nL</Object Methods>\n}), 55 '<Document><Para><L content-implicit="yes" raw="/Object Methods" section="Object Methods" type="pod">"Object Methods"</L></Para></Document>' 57 is( $x->_out(qq{=pod\n\nL<"Object Methods">\n}), 58 '<Document><Para><L content-implicit="yes" raw=""Object Method [all...] |
| /openbsd-src/gnu/llvm/llvm/lib/CodeGen/MIRParser/ |
| H A D | MIRParser.cpp | 135 const T &Object, 769 for (const auto &Object : YamlMF.FixedStackObjects) { in initializeFrameInfo() local 771 if (Object.Type != yaml::FixedMachineStackObject::SpillSlot) in initializeFrameInfo() 772 ObjectIdx = MFI.CreateFixedObject(Object.Size, Object.Offset, in initializeFrameInfo() 773 Object.IsImmutable, Object.IsAliased); in initializeFrameInfo() 775 ObjectIdx = MFI.CreateFixedSpillStackObject(Object.Size, Object.Offset); in initializeFrameInfo() 777 if (!TFI->isSupportedStackID(Object.StackID)) in initializeFrameInfo() 778 return error(Object.ID.SourceRange.Start, in initializeFrameInfo() 780 MFI.setStackID(ObjectIdx, Object.StackID); in initializeFrameInfo() 781 MFI.setObjectAlignment(ObjectIdx, Object.Alignment.valueOrOne()); in initializeFrameInfo() [all …]
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/ |
| H A D | MIRYamlMapping.h | 278 static void mapping(yaml::IO &YamlIO, MachineStackObject &Object) { 279 YamlIO.mapRequired("id", Object.ID); 280 YamlIO.mapOptional("name", Object.Name, 283 "type", Object.Type, 285 YamlIO.mapOptional("offset", Object.Offset, (int64_t)0); 286 if (Object.Type != MachineStackObject::VariableSized) 287 YamlIO.mapRequired("size", Object.Size); 288 YamlIO.mapOptional("alignment", Object.Alignment, std::nullopt); 289 YamlIO.mapOptional("stack-id", Object.StackID, TargetStackID::Default); 290 YamlIO.mapOptional("callee-saved-register", Object.CalleeSavedRegister, [all …]
|