/llvm-project/llvm/lib/Support/ |
H A D | ARMAttributeParser.cpp | 133 static const char *const strings[] = {"Not Permitted", "Permitted"}; in WMMX_arch() local 134 return parseStringAttribute("ARM_ISA_use", tag, ArrayRef(strings)); in WMMX_arch() 138 static const char *const strings[] = {"Not Permitted", "Thumb-1", "Thumb-2", in Advanced_SIMD_arch() local 140 return parseStringAttribute("THUMB_ISA_use", tag, ArrayRef(strings)); in Advanced_SIMD_arch() 144 static const char *const strings[] = { in MVE_arch() local 147 return parseStringAttribute("FP_arch", tag, ArrayRef(strings)); in MVE_arch() 151 static const char *const strings[] = {"Not Permitted", "WMMXv1", "WMMXv2"}; in PCS_config() 152 return parseStringAttribute("WMMX_arch", tag, ArrayRef(strings)); in PCS_config() 156 static const char *const strings[] = {"Not Permitted", "NEONv1", "NEONv2+FMA", in ABI_PCS_R9_use() 158 return parseStringAttribute("Advanced_SIMD_arch", tag, ArrayRef(strings)); in ABI_PCS_R9_use() 116 static const char *strings[] = {"Not Permitted", "Permitted"}; ARM_ISA_use() local 121 static const char *strings[] = {"Not Permitted", "Thumb-1", "Thumb-2", "Permitted"}; THUMB_ISA_use() local 126 static const char *strings[] = { FP_arch() local 150 static const char *strings[] = { PCS_config() local 157 static const char *strings[] = {"v6", "Static Base", "TLS", "Unused"}; ABI_PCS_R9_use() local 162 static const char *strings[] = {"Absolute", "PC-relative", "SB-relative", ABI_PCS_RW_data() local 168 static const char *strings[] = {"Absolute", "PC-relative", "Not Permitted"}; ABI_PCS_RO_data() local 173 static const char *strings[] = {"Not Permitted", "Direct", "GOT-Indirect"}; ABI_PCS_GOT_use() local 178 static const char *strings[] = {"Not Permitted", "Unknown", "2-byte", ABI_PCS_wchar_t() local 184 static const char *strings[] = {"IEEE-754", "Runtime"}; ABI_FP_rounding() local 189 static const char *strings[] = {"Unsupported", "IEEE-754", "Sign Only"}; ABI_FP_denormal() local 194 static const char *strings[] = {"Not Permitted", "IEEE-754"}; ABI_FP_exceptions() local 198 static const char *strings[] = {"Not Permitted", "IEEE-754"}; ABI_FP_user_exceptions() local 203 static const char *strings[] = {"Not Permitted", "Finite Only", "RTABI", ABI_FP_number_model() local 209 static const char *strings[] = {"Not Permitted", "8-byte alignment", ABI_align_needed() local 228 static const char *strings[] = {"Not Required", "8-byte data alignment", ABI_align_preserved() local 247 static const char *strings[] = {"Not Permitted", "Packed", "Int32", ABI_enum_size() local 253 static const char *strings[] = {"Tag_FP_arch", "Single-Precision", "Reserved", ABI_HardFP_use() local 259 static const char *strings[] = {"AAPCS", "AAPCS VFP", "Custom", ABI_VFP_args() local 265 static const char *strings[] = {"AAPCS", "iWMMX", "Custom"}; ABI_WMMX_args() local 270 static const char *strings[] = { ABI_optimization_goals() local 278 static const char *strings[] = { ABI_FP_optimization_goals() local 312 static const char *strings[] = {"Not Permitted", "v6-style"}; CPU_unaligned_access() local 317 static const char *strings[] = {"If Available", "Permitted"}; FP_HP_extension() local 322 static const char *strings[] = {"Not Permitted", "IEEE-754", "VFPv3"}; ABI_FP_16bit_format() local 327 static const char *strings[] = {"Not Permitted", "Permitted"}; MPextension_use() local 332 static const char *strings[] = {"If Available", "Not Permitted", "Permitted"}; DIV_use() local 337 static const char *strings[] = {"Not Permitted", "Permitted"}; DSP_extension() local 342 static const char *strings[] = {"Not Permitted", "Permitted"}; T2EE_use() local 347 static const char *strings[] = {"Not Permitted", "TrustZone", Virtualization_use() local 354 static const char *strings[] = {"Not Permitted", "Permitted in NOP space", PAC_extension() local 360 static const char *strings[] = {"Not Permitted", "Permitted in NOP space", BTI_extension() local 366 static const char *strings[] = {"Not Used", "Used"}; PACRET_use() local 371 static const char *strings[] = {"Not Used", "Used"}; BTI_use() local 408 auto strings = ArrayRef(CPU_arch_strings); also_compatible_with() local [all...] |
H A D | CSKYAttributeParser.cpp | 85 static const char *const strings[] = {"Error", "DSP Extension", "DSP 2.0"}; in dspVersion() local 86 return parseStringAttribute("Tag_CSKY_DSP_VERSION", tag, ArrayRef(strings)); in dspVersion() 90 static const char *const strings[] = {"Error", "VDSP Version 1", in vdspVersion() local 92 return parseStringAttribute("Tag_CSKY_VDSP_VERSION", tag, ArrayRef(strings)); in vdspVersion() 96 static const char *const strings[] = {"Error", "FPU Version 1", in fpuVersion() 98 return parseStringAttribute("Tag_CSKY_FPU_VERSION", tag, ArrayRef(strings)); in fpuVersion() 102 static const char *const strings[] = {"Error", "Soft", "SoftFP", "Hard"}; in fpuABI() 103 return parseStringAttribute("Tag_CSKY_FPU_ABI", tag, ArrayRef(strings)); in fpuABI() 107 static const char *const strings[] = {"None", "Needed"}; in fpuRounding() 108 return parseStringAttribute("Tag_CSKY_FPU_ROUNDING", tag, ArrayRef(strings)); in fpuRounding() 95 static const char *strings[] = {"Error", "FPU Version 1", "FPU Version 2", fpuVersion() local 101 static const char *strings[] = {"Error", "Soft", "SoftFP", "Hard"}; fpuABI() local 106 static const char *strings[] = {"None", "Needed"}; fpuRounding() local 111 static const char *strings[] = {"None", "Needed"}; fpuDenormal() local 116 static const char *strings[] = {"None", "Needed"}; fpuException() local [all...] |
/llvm-project/clang-tools-extra/clangd/index/ |
H A D | Serialization.cpp | 102 llvm::StringRef consumeString(llvm::ArrayRef<llvm::StringRef> Strings) { in consumeString() argument 104 if (LLVM_UNLIKELY(StringIndex >= Strings.size())) { in consumeString() 108 return Strings[StringIndex]; in consumeString() 154 // Index data has many string fields, and many strings are identical. 162 // It contains a sequence of null-terminated strings, e.g. "foo\0bar\0". 166 // Strings remain owned externally (e.g. by SymbolSlab). 170 // Since strings are interned, look up can be by pointer. 181 // Finalize the table and write it to OS. No more strings may be added. 214 std::vector<llvm::StringRef> Strings; member 252 Table.Strings in readStringTable() 266 writeLocation(const SymbolLocation & Loc,const StringTableOut & Strings,llvm::raw_ostream & OS) writeLocation() argument 276 readLocation(Reader & Data,llvm::ArrayRef<llvm::StringRef> Strings) readLocation() argument 287 readIncludeGraphNode(Reader & Data,llvm::ArrayRef<llvm::StringRef> Strings) readIncludeGraphNode() argument 301 writeIncludeGraphNode(const IncludeGraphNode & IGN,const StringTableOut & Strings,llvm::raw_ostream & OS) writeIncludeGraphNode() argument 313 writeSymbol(const Symbol & Sym,const StringTableOut & Strings,llvm::raw_ostream & OS) writeSymbol() argument 341 readSymbol(Reader & Data,llvm::ArrayRef<llvm::StringRef> Strings,SymbolOrigin Origin) readSymbol() argument 379 writeRefs(const SymbolID & ID,llvm::ArrayRef<Ref> Refs,const StringTableOut & Strings,llvm::raw_ostream & OS) writeRefs() argument 390 readRefs(Reader & Data,llvm::ArrayRef<llvm::StringRef> Strings) readRefs() argument 429 writeCompileCommand(const InternedCompileCommand & Cmd,const StringTableOut & Strings,llvm::raw_ostream & CmdOS) writeCompileCommand() argument 438 readCompileCommand(Reader CmdReader,llvm::ArrayRef<llvm::StringRef> Strings) readCompileCommand() argument 486 auto Strings = readStringTable(Chunks.lookup("stri")); readRIFF() local 572 StringTableOut Strings; writeRIFF() local [all...] |
/llvm-project/llvm/docs/CommandGuide/ |
H A D | llvm-strings.rst | 1 llvm-strings - print strings 4 .. program:: llvm-strings 9 :program:`llvm-strings` [*options*] [*input...*] 14 :program:`llvm-strings` is a tool intended as a drop-in replacement for GNU's 15 :program:`strings`, which looks for printable strings in files and writes them 20 :program:`llvm-strings` looks for strings in each ``input`` file specified. 21 Unlike GNU :program:`strings` it looks in the entire input file, regardless of 35 $ llvm-strings input.txt 44 Silently ignored. Present for GNU :program:`strings` compatibility. 63 $ llvm-strings --print-file-name test.o test.elf [all …]
|
/llvm-project/llvm/test/tools/llvm-strings/ |
H A D | length.test | 1 ## Show that llvm-strings prints only strings with length of at least the 9 RUN: not llvm-strings -n 0 2>&1 %t | FileCheck --check-prefix CHECK-0 %s 10 RUN: llvm-strings -n 1 %t | FileCheck --check-prefix CHECK-1 %s --implicit-check-not={{.}} 11 RUN: llvm-strings -n 2 %t | FileCheck --check-prefix CHECK-2 %s --implicit-check-not={{.}} 12 RUN: llvm-strings -n 4 %t | FileCheck --check-prefix CHECK-4 %s --implicit-check-not={{.}} 13 RUN: llvm-strings -n 5 %t | FileCheck --check-prefix CHECK-5 %s --implicit-check-not={{.}} 14 RUN: llvm-strings -n 6 %t | FileCheck %s --implicit-check-not={{.}} --allow-empty 17 RUN: llvm-strings %t | FileCheck --check-prefix CHECK-4 %s --implicit-check-not={{.}} 20 RUN: llvm-strings --bytes 2 %t | FileCheck --check-prefix CHECK-2 %s --implicit-check-not={{.}} 23 RUN: llvm-strings --bytes=2 %t | FileCheck --check-prefix CHECK-2 %s --implicit-check-not={{.}} [all …]
|
H A D | radix.test | 1 ## Show that llvm-strings can handle the -t/--radix switch properly. 17 RUN: llvm-strings %t/a.txt | FileCheck %s -check-prefix CHECK-NONE --implicit-check-not={{.}} 18 RUN: llvm-strings -t d %t/a.txt | FileCheck %s -check-prefix CHECK-DEC --strict-whitespace --implic… 19 RUN: llvm-strings -t o %t/a.txt | FileCheck %s -check-prefix CHECK-OCT --strict-whitespace --implic… 20 RUN: llvm-strings -t x %t/a.txt | FileCheck %s -check-prefix CHECK-HEX --strict-whitespace --implic… 23 RUN: llvm-strings --radix d %t/a.txt | FileCheck %s -check-prefix CHECK-DEC --strict-whitespace 24 RUN: llvm-strings --radix o %t/a.txt | FileCheck %s -check-prefix CHECK-OCT --strict-whitespace 25 RUN: llvm-strings --radix x %t/a.txt | FileCheck %s -check-prefix CHECK-HEX --strict-whitespace 28 RUN: llvm-strings --radix=d %t/a.txt | FileCheck %s -check-prefix CHECK-DEC --strict-whitespace 29 RUN: llvm-strings -t d %t/a.txt | FileCheck %s -check-prefix CHECK-DEC --strict-whitespace [all …]
|
/llvm-project/llvm/utils/gn/secondary/llvm/tools/llvm-strings/ |
H A D | BUILD.gn | 6 visibility = [ ":llvm-strings" ] 11 symlink_or_copy("strings") { 12 deps = [ ":llvm-strings" ] 13 source = "llvm-strings" 14 output = "$root_out_dir/bin/strings" 18 # //:llvm-strings depends on this symlink target, see comment in //BUILD.gn. 20 deps = [ ":llvm-strings" ] 22 deps += [ ":strings" ] 26 executable("llvm-strings") { 34 sources = [ "llvm-strings.cpp" ]
|
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/readability/ |
H A D | string-compare.cpp | 17 …// CHECK-MESSAGES: [[@LINE-2]]:7: warning: do not use 'compare' to test equality of strings; use t… in Test() 20 …// CHECK-MESSAGES: [[@LINE-2]]:8: warning: do not use 'compare' to test equality of strings; use t… in Test() 23 // CHECK-MESSAGES: [[@LINE-2]]:7: warning: do not use 'compare' to test equality of strings; in Test() 27 // CHECK-MESSAGES: [[@LINE-2]]:7: warning: do not use 'compare' to test equality of strings; in Test() 31 // CHECK-MESSAGES: [[@LINE-2]]:7: warning: do not use 'compare' to test equality of strings; in Test() 35 // CHECK-MESSAGES: [[@LINE-2]]:7: warning: do not use 'compare' to test equality of strings; in Test() 39 // CHECK-MESSAGES: [[@LINE-2]]:7: warning: do not use 'compare' to test equality of strings; in Test() 42 // CHECK-MESSAGES: [[@LINE-1]]:8: warning: do not use 'compare' to test equality of strings; in Test() 45 // CHECK-MESSAGES: [[@LINE-2]]:23: warning: do not use 'compare' to test equality of strings; in Test() 50 // CHECK-MESSAGES: [[@LINE-2]]:7: warning: do not use 'compare' to test equality of strings; in Test() [all …]
|
/llvm-project/llvm/include/llvm/DebugInfo/CodeView/ |
H A D | StringsAndChecksums.h | 29 explicit StringsAndChecksumsRef(const DebugStringTableSubsectionRef &Strings); 32 StringsAndChecksumsRef(const DebugStringTableSubsectionRef &Strings, 35 void setStrings(const DebugStringTableSubsectionRef &Strings); 44 if (Strings && Checksums) in initialize() 50 if (R.kind() == DebugSubsectionKind::StringTable && !Strings) { in initialize() 66 const DebugStringTableSubsectionRef &strings() const { return *Strings; } in strings() function 69 bool hasStrings() const { return Strings != nullptr; } in hasStrings() 79 const DebugStringTableSubsectionRef *Strings = nullptr; variable 91 void setStrings(const StringsPtr &SP) { Strings = SP; } in setStrings() 94 const StringsPtr &strings() const { return Strings; } in strings() function [all …]
|
/llvm-project/clang-tools-extra/clangd/unittests/remote/ |
H A D | MarshallingTests.cpp | 40 llvm::UniqueStringSaver &Strings) { in testPathURI() argument 42 return Strings.save(URI.toString()).begin(); in testPathURI() 46 llvm::UniqueStringSaver &Strings) { in createSymbol() argument 58 Sym.Name = Strings.save("Foo"); in createSymbol() 59 Sym.Scope = Strings.save("llvm::foo::bar::"); in createSymbol() 66 Location.FileURI = testPathURI(PathPrefix.str() + "Definition.cpp", Strings); in createSymbol() 73 Location.FileURI = testPathURI(PathPrefix.str() + "Declaration.h", Strings); in createSymbol() 78 Sym.Signature = Strings.save("(int X, char Y, Type T)"); in createSymbol() 79 Sym.TemplateSpecializationArgs = Strings.save("<int, char, bool, Type>"); in createSymbol() 81 Strings.save("({1: int X}, {2: char Y}, {3: Type T})"); in createSymbol() [all …]
|
/llvm-project/llvm/test/Bitcode/ |
H A D | metadata-function-blocks.ll | 10 ; Check for strings in the global pool. 12 ; CHECK-NEXT: <STRINGS 13 ; CHECK-SAME: /> num-strings = 3 { 40 ; Look at metadata local to @foo, starting with strings. 43 ; CHECK-NEXT: <STRINGS 44 ; CHECK-SAME: /> num-strings = 1 { 48 ; Function-local nodes start at 9 (strings at 8). 60 ; Look at metadata local to @bar, starting with strings. 63 ; CHECK-NEXT: <STRINGS 64 ; CHECK-SAME: /> num-strings = 1 { [all …]
|
/llvm-project/llvm/lib/DebugInfo/PDB/Native/ |
H A D | NativeEnumInjectedSources.cpp | 39 const PDBStringTable &Strings; 44 PDBFile &File, const PDBStringTable &Strings) in NativeInjectedSource() 45 : Entry(Entry), Strings(Strings), File(File) {} in NativeInjectedSource() argument 51 StringRef Ret = cantFail(Strings.getStringForID(Entry.FileNI), in getFileName() 57 StringRef Ret = cantFail(Strings.getStringForID(Entry.ObjNI), in getObjectFileName() 63 StringRef Ret = cantFail(Strings.getStringForID(Entry.VFileNI), in getVirtualFileName() 73 cantFail(Strings.getStringForID(Entry.VFileNI), in getCode() 99 const PDBStringTable &Strings) in NativeEnumInjectedSources() 100 : File(File), Stream(IJS), Strings(String in NativeEnumInjectedSources() argument 40 const PDBStringTable &Strings; global() member in llvm::pdb::__anonb0c5f9a60111::NativeInjectedSource [all...] |
H A D | PDBStringTableBuilder.cpp | 48 return Strings.insert(S); in insert() 52 return Strings.getIdForString(S); in getIdForString() 56 return Strings.getStringForId(Id); in getStringForId() 61 // strings. Matching the reference algorithm exactly is not strictly in computeBucketCount() 136 Size += sizeof(uint32_t) * computeBucketCount(Strings.size()); in calculateHashTableSize() 144 Size += Strings.calculateSerializedSize(); in calculateSerializedSize() 151 const codeview::DebugStringTableSubsection &Strings) { in setStrings() argument 152 this->Strings = Strings; in setStrings() 160 H.ByteSize = Strings.calculateSerializedSize(); in writeHeader() 168 if (auto EC = Strings.commit(Writer)) in writeStrings() [all …]
|
/llvm-project/llvm/test/tools/llvm-objcopy/ELF/ |
H A D | set-section-flags.test | 37 # RUN: llvm-objcopy --set-section-flags=.foo=strings \ 38 # RUN: --set-section-flags=.baz=strings --set-section-flags=.rela.baz=strings %t %t.strings 39 # RUN: llvm-readobj --sections %t.strings | FileCheck %s --check-prefixes=CHECK,STRINGS,PROGBITS,WR… 51 # RUN: llvm-objcopy --set-section-flags=.foo=alloc,readonly,strings \ 52 # RUN: --set-section-flags=.baz=alloc,readonly,strings \ 53 # RUN: --set-section-flags=.rela.baz=alloc,readonly,strings %t %t.alloc_ro_strings 54 …m-readobj --sections %t.alloc_ro_strings | FileCheck %s --check-prefixes=CHECK,NOBITS,ALLOC,STRINGS 70 …et-section-flags=.foo=ALLOC,LOAD,NOLOAD,READONLY,DEBUG,CODE,DATA,ROM,CONTENTS,MERGE,STRINGS,SHARE \ 71 …et-section-flags=.baz=ALLOC,LOAD,NOLOAD,READONLY,DEBUG,CODE,DATA,ROM,CONTENTS,MERGE,STRINGS,SHARE \ 72 …s=.rela.baz=ALLOC,LOAD,NOLOAD,READONLY,DEBUG,CODE,DATA,ROM,CONTENTS,MERGE,STRINGS,SHARE %t %t.upper [all …]
|
H A D | rename-section-flag.test | 37 # RUN: llvm-objcopy --rename-section=.foo=.bar,strings \ 38 # RUN: --rename-section=.baz=.blah,strings %t %t.strings 39 # RUN: llvm-readobj --sections %t.strings | FileCheck %s --check-prefixes=CHECK,PROGBITS,STRINGS,WR… 45 # RUN: llvm-objcopy --rename-section=.foo=.bar,alloc,readonly,strings \ 46 # RUN: --rename-section=.baz=.blah,alloc,readonly,strings %t %t.alloc_ro_strings 47 …m-readobj --sections %t.alloc_ro_strings | FileCheck %s --check-prefixes=CHECK,NOBITS,ALLOC,STRINGS 56 …ame-section=.foo=.bar,ALLOC,LOAD,NOLOAD,READONLY,DEBUG,CODE,DATA,ROM,CONTENTS,MERGE,STRINGS,SHARE \ 57 …=.baz=.blah,ALLOC,LOAD,NOLOAD,READONLY,DEBUG,CODE,DATA,ROM,CONTENTS,MERGE,STRINGS,SHARE %t %t.upper 58 …readobj --sections %t.upper | FileCheck %s --check-prefixes=CHECK,PROGBITS,ALLOC,EXEC,MERGE,STRINGS 61 …ame-section=.foo=.bar,aLlOc,LoAd,NoLoad,rEAdONly,Debug,codE,DaTa,rOm,CoNtEnTs,mErGe,sTRINGs,SharE \ [all …]
|
/llvm-project/llvm/lib/DebugInfo/CodeView/ |
H A D | StringsAndChecksums.cpp | 23 const DebugStringTableSubsectionRef &Strings) in StringsAndChecksumsRef() argument 24 : Strings(&Strings) {} in StringsAndChecksumsRef() 27 const DebugStringTableSubsectionRef &Strings, in StringsAndChecksumsRef() argument 29 : Strings(&Strings), Checksums(&Checksums) {} in StringsAndChecksumsRef() 34 assert(!Strings && "Found a string table even though we already have one!"); in initializeStrings() 38 Strings = OwnedStrings.get(); in initializeStrings() 48 Strings = nullptr; in resetStrings() 60 Strings = OwnedStrings.get(); in setStrings()
|
/llvm-project/llvm/test/tools/yaml2obj/ELF/ |
H A D | shstrtab.yaml | 6 # RUN: yaml2obj --docnum=1 %s -o %t1 -DSHSTRTAB=.strings 7 # RUN: llvm-readelf -S -p .strings %t1 | FileCheck %s --check-prefix=CASE1 17 # CASE1-NEXT: [ 4] .strings STRTAB 0000000000000000 [[#%x,]] 00001c 00 0 0 1 19 # CASE1: String dump of section '.strings': 20 # CASE1-NEXT: [ 1] .strings{{$}} 206 ## debug strings. This triggers an error. 250 # RUN: llvm-readelf -S -p .strings %t11 | FileCheck %s --check-prefix=CASE11 258 # CASE11-NEXT: [ 2] .strings STRTAB 0000000000000000 [[#%x,]] 00001c 02 0 0 0 262 # CASE11: String dump of section '.strings': 263 # CASE11-NEXT: [ 1] .strings{{$}} [all …]
|
/llvm-project/libcxx/benchmarks/ |
H A D | string.bench.cpp |
|
/llvm-project/llvm/test/TableGen/ |
H A D | AllowDuplicateRegisterNames.td | 47 // CHECK: case 2: // 8 strings to match. 52 // CHECK: case '0': // 2 strings to match. 54 // CHECK: case '1': // 2 strings to match. 56 // CHECK: case '2': // 2 strings to match. 58 // CHECK: case '3': // 2 strings to match. 69 // CHECK: case 2: // 8 strings to match. 74 // CHECK: case '0': // 2 strings to match. 76 // CHECK: case '1': // 2 strings to match. 78 // CHECK: case '2': // 2 strings to match. 80 // CHECK: case '3': // 2 strings to match.
|
/llvm-project/llvm/test/tools/llvm-readobj/ELF/ |
H A D | string-dump.test | 1 # Check the dumping of a section as strings. 4 # RUN: llvm-readobj --string-dump=.strings \ 11 # RUN: llvm-readobj -p.strings -p.strings -p.not_null_terminated %t | cmp %t.readobj.out - 17 # RUN: llvm-readelf --file-header --string-dump=.strings \ 21 # RUN: llvm-readelf -h -p .strings -p .not_null_terminated %t | cmp %t.readelf.out - 22 # RUN: llvm-readelf -p.strings -hp.not_null_terminated %t | cmp %t.readelf.out - 28 # CHECK-NEXT: String dump of section '.strings': 32 # CHECK-NEXT: [ e] strings 54 - Name: .strings
|
/llvm-project/llvm/lib/ObjectYAML/ |
H A D | CodeViewYAMLDebugSections.cpp | 112 fromCodeViewSubsection(const DebugStringTableSubsectionRef &Strings, 126 fromCodeViewSubsection(const DebugStringTableSubsectionRef &Strings, 142 fromCodeViewSubsection(const DebugStringTableSubsectionRef &Strings, 172 fromCodeViewSubsection(const DebugStringTableSubsectionRef &Strings, 200 fromCodeViewSubsection(const DebugStringTableSubsectionRef &Strings); 202 std::vector<StringRef> Strings; 214 fromCodeViewSubsection(const DebugStringTableSubsectionRef &Strings, 355 IO.mapRequired("Strings", Strings); in map() 403 auto Result = std::make_shared<DebugChecksumsSubsection>(*SC.strings()); in toCodeViewSubsection() 204 std::vector<StringRef> Strings; global() member 541 convertOneChecksum(const DebugStringTableSubsectionRef & Strings,const FileChecksumEntry & CS) convertOneChecksum() argument 555 getFileName(const DebugStringTableSubsectionRef & Strings,const DebugChecksumsSubsectionRef & Checksums,uint32_t FileID) getFileName() argument 566 fromCodeViewSubsection(const DebugStringTableSubsectionRef & Strings,const DebugChecksumsSubsectionRef & FC) fromCodeViewSubsection() argument 581 fromCodeViewSubsection(const DebugStringTableSubsectionRef & Strings,const DebugChecksumsSubsectionRef & Checksums,const DebugLinesSubsectionRef & Lines) fromCodeViewSubsection() argument 619 fromCodeViewSubsection(const DebugStringTableSubsectionRef & Strings,const DebugChecksumsSubsectionRef & Checksums,const DebugInlineeLinesSubsectionRef & Lines) fromCodeViewSubsection() argument 656 fromCodeViewSubsection(const DebugStringTableSubsectionRef & Strings,const DebugCrossModuleImportsSubsectionRef & Imports) fromCodeViewSubsection() argument 691 fromCodeViewSubsection(const DebugStringTableSubsectionRef & Strings) fromCodeViewSubsection() argument 709 fromCodeViewSubsection(const DebugStringTableSubsectionRef & Strings,const DebugFrameDataSubsectionRef & Frames) fromCodeViewSubsection() argument 853 visitStringTable(DebugStringTableSubsectionRef & Strings,const StringsAndChecksumsRef & State) visitStringTable() argument [all...] |
/llvm-project/compiler-rt/test/profile/ |
H A D | instrprof-bufferio.c | 47 lprofBufferIOWrite(BufferIO, "Short Strings:\n", in main() 48 strlen("Short Strings:\n")); in main() 52 lprofBufferIOWrite(BufferIO, "Long Strings:\n", strlen("Long Strings:\n")); in main() 56 lprofBufferIOWrite(BufferIO, "Extra Long Strings:\n", in main() 57 strlen("Extra Long Strings:\n")); in main() 61 lprofBufferIOWrite(BufferIO, "Mixed Strings:\n", strlen("Mixed Strings:\n")); in main() 80 // CHECK-LABEL: Short Strings: 95 // CHECK-LABEL: Long Strings: 108 // CHECK-LABEL: Mixed Strings:
|
/llvm-project/llvm/test/tools/yaml2obj/XCOFF/ |
H A D | string-table.yaml | 2 ## `ContentSize`, `Length`, `Strings` and/or `RawContent` can be specified in 73 ## We can specify `Strings` for a string table. Default contents (ie. symbol 77 ## Case 7: produce a string table with specified `Strings` directly. In this 99 Strings: 103 ## Case 8: if the number of `Strings` is greater than or equal to the number 104 ## of default strings, all default strings will be overwritten by 144 ## Case 9: if the number of `Strings` is less than the number of default 145 ## strings, default strings will be partially overwritten. The 146 ## remaining strings will still be stored after the specified strings 188 ## We can specify both `ContentSize` and `Strings` when `ContentSize` is equal [all …]
|
/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libstdcpp/vector/ |
H A D | TestDataFormatterStdVector.py | 168 # check if we can display strings 171 self.expect("frame variable strings", substrs=["goofy", "is", "smart"]) 173 self.expect("expression strings", substrs=["goofy", "is", "smart"]) 180 "frame variable strings", 185 "expression strings", substrs=["vector has 3 items", "goofy", "is", "smart"] 190 self.expect("frame variable strings", substrs=["vector has 4 items"]) 193 self.expect("frame variable strings[0]", substrs=["goofy"]) 194 self.expect("frame variable strings[1]", substrs=["is"]) 200 "expression strings[0]", matching=False, error=True, substrs=["goofy"] 205 self.frame().FindVariable("strings").MightHaveChildren(), [all …]
|
/llvm-project/lldb/test/API/functionalities/data-formatter/data-formatter-stl/libcxx/span/ |
H A D | main.cpp | 27 // Test spans of strings in main() 28 std::vector<std::string> strings{"goofy", "is", "smart", "!!!"}; in main() local 29 strings.reserve(strings.size() + 1); in main() 31 // Partial view of strings with dynamic extent in main() 32 dynamic_string_span strings_span{std::span{strings}.subspan(2)}; in main() 41 strings.emplace_back("???"); in main()
|