Bug 1890277: part 2) Add `require-trusted-types-for` directive to CSP parser, guarded...
[gecko.git] / build / build-clang / partial-revert-llvmorg-17-init-17713-gc8e055d485ea.patch
blob96ac98838086d47b131fb238bc4d4789262c591f
1 Revert the parts of c8e055d485eabf1c8830d77797e3686ced0f7754 that require
2 cead4eceb01b935fae07bf4a7e91911b344d2fec, which we revert.
4 diff --git a/llvm/include/llvm/DebugInfo/BTF/BTFContext.h b/llvm/include/llvm/DebugInfo/BTF/BTFContext.h
5 index c16bee613322..7b0412b91c2e 100644
6 --- a/llvm/include/llvm/DebugInfo/BTF/BTFContext.h
7 +++ b/llvm/include/llvm/DebugInfo/BTF/BTFContext.h
8 @@ -34,9 +34,6 @@ public:
9 object::SectionedAddress Address,
10 DILineInfoSpecifier Specifier = DILineInfoSpecifier()) override;
12 - DILineInfo
13 - getLineInfoForDataAddress(object::SectionedAddress Address) override;
15 DILineInfoTable getLineInfoForAddressRange(
16 object::SectionedAddress Address, uint64_t Size,
17 DILineInfoSpecifier Specifier = DILineInfoSpecifier()) override;
18 diff --git a/llvm/lib/DebugInfo/BTF/BTFContext.cpp b/llvm/lib/DebugInfo/BTF/BTFContext.cpp
19 index 24898739b824..da0f9982881f 100644
20 --- a/llvm/lib/DebugInfo/BTF/BTFContext.cpp
21 +++ b/llvm/lib/DebugInfo/BTF/BTFContext.cpp
22 @@ -34,11 +34,6 @@ DILineInfo BTFContext::getLineInfoForAddress(SectionedAddress Address,
23 return Result;
26 -DILineInfo BTFContext::getLineInfoForDataAddress(SectionedAddress Address) {
27 - // BTF does not convey such information.
28 - return {};
31 DILineInfoTable
32 BTFContext::getLineInfoForAddressRange(SectionedAddress Address, uint64_t Size,
33 DILineInfoSpecifier Specifier) {