Skip to content

Commit 5d1d433

Browse files
author
Kevin Frei
committed
Fixed the last test. Looks like everything works.
1 parent 6c3ee2a commit 5d1d433

File tree

4 files changed

+3
-11
lines changed

4 files changed

+3
-11
lines changed

lldb/test/Shell/Debuginfod/split-okdstrip-positive.test

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@
1313
# RUN: yaml2obj %p/Inputs/sym-split.yaml -o %t/output/sym-split
1414
# RUN: llvm-objcopy %t/output/bin-split-stripped.tmp --add-gnu-debuglink=%t/output/sym-split %t/output/bin-split-stripped
1515
# RUN: mv %t/output/sym-split %t/buildid/82b2c35129dab19ad58f3dd0f426bdb0cc8aa094/executable
16-
# RUN: yaml2obj %p/Inputs/bin-split-dwp.yaml -o %t/buildid/82b2c35129dab19ad58f3dd0f426bdb0cc8aa094/debuginfod
16+
# RUN: yaml2obj %p/Inputs/bin-split-dwp.yaml -o %t/buildid/82b2c35129dab19ad58f3dd0f426bdb0cc8aa094/debuginfo
1717
# RUN: chmod a+x %t/output/bin-split-stripped
1818

19-
# RUN: %lldb -o "settings set symbols.enable-external-lookup false" \
19+
# RUN: %lldb -o "settings set symbols.enable-external-lookup true" \
2020
# RUN: -o "settings set plugin.symbol-locator.debuginfod.cache-path %t/cache" \
2121
# RUN: -o "settings clear plugin.symbol-locator.debuginfod.server-urls" \
2222
# RUN: -o "settings insert-before plugin.symbol-locator.debuginfod.server-urls 0 file://%t" \
@@ -28,4 +28,4 @@
2828
# CHECK: Symbol file: {{.*}}/bin-split-stripped
2929
# CHECK-NEXT: Type: "dwo"
3030
# CHECK-NEXT: Dwo ID{{.*}}
31-
# CHECK: {{0x[0-9a-f]+.* +.*}}/output/bin-split-stripped.dwp(gen/bin-split.dwo){{ *$}}
31+
# CHECK: {{0x[0-9a-f]+.* +.*}}.tmp/cache/llvmcache-6559017670391320133{{ *$}}

llvm/lib/Debuginfod/Debuginfod.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -154,11 +154,6 @@ std::string getDebuginfodDebuginfoUrlPath(BuildIDRef ID) {
154154
return std::string(UrlPath);
155155
}
156156

157-
Expected<std::string> getCachedOrDownloadDebuginfo(BuildIDRef ID) {
158-
std::string UrlPath = getDebuginfodDebuginfoUrlPath(ID);
159-
return getCachedOrDownloadArtifact(getDebuginfodCacheKey(UrlPath), UrlPath);
160-
}
161-
162157
Expected<std::string> getCachedOrDownloadDebuginfo(BuildIDRef ID) {
163158
std::string UrlPath = getDebuginfodDebuginfoUrlPath(ID);
164159
return getCachedOrDownloadArtifact(getDebuginfodCacheKey(UrlPath), UrlPath);

llvm/utils/gn/build/write_library_dependencies.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@
3737
{ "coverage", "LLVMCoverage", true, {"core", "object", "profiledata", "support"} },
3838
{ "debuginfocodeview", "LLVMDebugInfoCodeView", true, {"support", "debuginfomsf"} },
3939
{ "debuginfodwarf", "LLVMDebugInfoDWARF", true, {"binaryformat", "object", "mc", "support"} },
40-
{ "debuginfod", "LLVMDebuginfod", true, {} },
4140
{ "debuginfogsym", "LLVMDebugInfoGSYM", true, {"mc", "object", "support", "debuginfodwarf"} },
4241
{ "debuginfomsf", "LLVMDebugInfoMSF", true, {"support"} },
4342
{ "debuginfopdb", "LLVMDebugInfoPDB", true, {"binaryformat", "object", "support", "debuginfocodeview", "debuginfomsf"} },

llvm/utils/lldbDataFormatters.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,6 @@ def DenseMapSummary(valobj: lldb.SBValue, _) -> str:
374374
return summary
375375

376376

377-
"""
378377
class DenseMapSynthetic:
379378
valobj: lldb.SBValue
380379

@@ -433,4 +432,3 @@ def update(self):
433432
for indexes in key_buckets.values():
434433
if len(indexes) == 1:
435434
self.child_buckets.append(indexes[0])
436-
"""

0 commit comments

Comments
 (0)