Home
last modified time | relevance | path

Searched refs:source_file (Results 1 – 19 of 19) sorted by relevance

/llvm-project-15.0.7/cross-project-tests/debuginfo-tests/dexter/dex/debugger/dbgeng/
H A Dprobe_process.py42 self.source_file, self.line_no = tup
48 self.source_file, self.line_no = sym
50 self.source_file = None
54 if self.source_file is not None:
55 self.basename = os.path.basename(self.source_file)
H A Ddbgeng.py126 loc = LocIR(path=x.source_file, lineno=x.line_no, column=0)
132 location=SourceLocation(path=x.source_file,
/llvm-project-15.0.7/clang/test/AST/
H A Dgen_ast_dump_json_test.py95 def process_file(source_file, clang_binary, cmdline_filters, cmdline_opts, argument
105 with open(source_file, "r") as srcf:
119 print("Not updating", source_file, "since it is not autogenerated.",
146 cmd.append(source_file)
188 with open(source_file, "r") as srcf:
211 print("Updating json appended source file to %s." % source_file)
212 copyfile(f.name, source_file)
214 partition = source_file.rpartition('.')
/llvm-project-15.0.7/lldb/unittests/SymbolFile/PDB/
H A DSymbolFilePDBTests.cpp262 FileSpec source_file("test-pdb.cpp"); in TEST_F() local
273 source_file, /*line=*/0, /*column=*/llvm::None, /*check_inlines=*/true); in TEST_F()
285 VerifyLineEntry(module, sc, source_file, *lt, 7, 0x401040); in TEST_F()
286 VerifyLineEntry(module, sc, source_file, *lt, 8, 0x401043); in TEST_F()
287 VerifyLineEntry(module, sc, source_file, *lt, 9, 0x401045); in TEST_F()
289 VerifyLineEntry(module, sc, source_file, *lt, 13, 0x401050); in TEST_F()
290 VerifyLineEntry(module, sc, source_file, *lt, 14, 0x401054); in TEST_F()
291 VerifyLineEntry(module, sc, source_file, *lt, 15, 0x401070); in TEST_F()
312 FileSpec source_file("test-pdb.cpp"); in TEST_F() local
336 VerifyLineEntry(module, sc, source_file, *lt, 7, 0x401040); in TEST_F()
[all …]
/llvm-project-15.0.7/lldb/source/Symbol/
H A DFunction.cpp244 void Function::GetStartLineSourceInfo(FileSpec &source_file, in GetStartLineSourceInfo() argument
247 source_file.Clear(); in GetStartLineSourceInfo()
256 source_file = m_type->GetDeclaration().GetFile(); in GetStartLineSourceInfo()
267 source_file = line_entry.file; in GetStartLineSourceInfo()
272 void Function::GetEndLineSourceInfo(FileSpec &source_file, uint32_t &line_no) { in GetEndLineSourceInfo() argument
274 source_file.Clear(); in GetEndLineSourceInfo()
289 source_file = line_entry.file; in GetEndLineSourceInfo()
/llvm-project-15.0.7/lldb/packages/Python/lldbsuite/test/
H A Dlldbinline.py48 for source_file in source_files:
49 file_handle = io.open(source_file, encoding='utf-8')
65 current_breakpoint['file_name'] = source_file
/llvm-project-15.0.7/lldb/include/lldb/API/
H A DSBTarget.h635 const SBFileSpec &source_file,
641 const SBFileSpecList &source_file);
645 const SBFileSpecList &source_file, const SBStringList &func_names);
694 lldb::SBError BreakpointsCreateFromFile(SBFileSpec &source_file,
712 lldb::SBError BreakpointsCreateFromFile(SBFileSpec &source_file,
/llvm-project-15.0.7/lldb/source/Plugins/Platform/Android/
H A DPlatformAndroid.cpp192 auto source_file = source_spec.GetCString(false); in GetFile() local
196 source_file); in GetFile()
198 if (strchr(source_file, '\'') != nullptr) in GetFile()
206 snprintf(cmd, sizeof(cmd), "cat '%s'", source_file); in GetFile()
/llvm-project-15.0.7/lldb/test/API/macosx/nslog/
H A DTestDarwinNSLogOutput.py53 def run_lldb_to_breakpoint(self, exe, source_file, line, argument
85 child.sendline('breakpoint set -f %s -l %d' % (source_file, line))
/llvm-project-15.0.7/libcxx/benchmarks/
H A DCMakeLists.txt114 function(add_benchmark_test name source_file)
117 add_executable(${libcxx_target} EXCLUDE_FROM_ALL ${source_file})
138 add_executable(${native_target} EXCLUDE_FROM_ALL ${source_file})
/llvm-project-15.0.7/lldb/bindings/interface/
H A DSBTarget.i655 …BreakpointCreateBySourceRegex (const char *source_regex, const lldb::SBFileSpec &source_file, cons…
663 const SBFileSpecList &source_file,
787 BreakpointsCreateFromFile(SBFileSpec &source_file,
806 lldb::SBError BreakpointsCreateFromFile(SBFileSpec &source_file,
/llvm-project-15.0.7/libcxx/utils/libcxx/
H A Dcompiler.py197 def compileLinkTwoSteps(self, source_file, out=None, object_file=None, argument
199 if not isinstance(source_file, str):
209 source_file, object_file, flags=flags, cwd=cwd)
/llvm-project-15.0.7/lldb/include/lldb/Symbol/
H A DFunction.h470 void GetStartLineSourceInfo(FileSpec &source_file, uint32_t &line_no);
481 void GetEndLineSourceInfo(FileSpec &source_file, uint32_t &line_no);
/llvm-project-15.0.7/clang/tools/scan-build-py/tests/functional/cases/
H A Dtest_from_cdb.py20 source_file = os.path.join(source_dir, target_file + '.in')
22 with open(source_file, 'r') as in_handle:
/llvm-project-15.0.7/lldb/source/API/
H A DSBTarget.cpp961 const lldb::SBFileSpec &source_file, in BreakpointCreateBySourceRegex() argument
963 LLDB_INSTRUMENT_VA(this, source_regex, source_file, module_name); in BreakpointCreateBySourceRegex()
972 if (source_file.IsValid()) { in BreakpointCreateBySourceRegex()
973 source_file_list.Append(source_file); in BreakpointCreateBySourceRegex()
1192 lldb::SBError SBTarget::BreakpointsCreateFromFile(SBFileSpec &source_file, in BreakpointsCreateFromFile() argument
1194 LLDB_INSTRUMENT_VA(this, source_file, new_bps); in BreakpointsCreateFromFile()
1197 return BreakpointsCreateFromFile(source_file, empty_name_list, new_bps); in BreakpointsCreateFromFile()
1200 lldb::SBError SBTarget::BreakpointsCreateFromFile(SBFileSpec &source_file, in BreakpointsCreateFromFile() argument
1203 LLDB_INSTRUMENT_VA(this, source_file, matching_names, new_bps); in BreakpointsCreateFromFile()
1221 sberr.ref() = target_sp->CreateBreakpointsFromFile(source_file.ref(), in BreakpointsCreateFromFile()
/llvm-project-15.0.7/lldb/source/Target/
H A DPlatform.cpp1190 auto source_file = FileSystem::Instance().Open(source, source_open_options, in PutFile() local
1192 if (!source_file) in PutFile()
1193 return Status(source_file.takeError()); in PutFile()
1195 uint32_t permissions = source_file.get()->GetPermissions(error); in PutFile()
1213 error = source_file.get()->Read(buffer_sp->GetBytes(), bytes_read); in PutFile()
1226 source_file.get()->SeekFromStart(offset); in PutFile()
H A DStackFrame.cpp1902 FileSpec source_file; in GetStatus() local
1903 m_sc.function->GetStartLineSourceInfo(source_file, start_line); in GetStatus()
/llvm-project-15.0.7/lldb/source/Plugins/SymbolFile/PDB/
H A DSymbolFilePDB.cpp820 std::string source_file = compiland->getSourceFileFullPath(); in ResolveSymbolContext() local
821 if (source_file.empty()) in ResolveSymbolContext()
823 FileSpec this_spec(source_file, FileSpec::Style::windows); in ResolveSymbolContext()
/llvm-project-15.0.7/clang/tools/c-index-test/
H A Dc-index-test.c2265 static int perform_file_scan(const char *ast_file, const char *source_file, in perform_file_scan() argument
2284 if ((fp = fopen(source_file, "r")) == NULL) { in perform_file_scan()
2285 fprintf(stderr, "Could not open '%s'\n", source_file); in perform_file_scan()
2290 file = clang_getFile(TU, source_file); in perform_file_scan()