Commit cd826d6
committed
Revert "[Clang,debuginfo] added vtt parameter in destructor DISubroutineType (llvm#130674)"
This reverts commit 27c1aa9.
See comments on PR. After this change, Clang now asserts like this:
clang: ../llvm/include/llvm/IR/Metadata.h:1435: const MDOperand &llvm::MDNode::getOperand(unsigned int) const: Assertion `I < getNumOperands() && "Out of range"' failed.
...
#8 0x000055f345c4e4cb clang::CodeGen::CGDebugInfo::getOrCreateInstanceMethodType()
#9 0x000055f345c5ba4f clang::CodeGen::CGDebugInfo::EmitFunctionDecl()
#10 0x000055f345b52519 clang::CodeGen::CodeGenModule::EmitExternalFunctionDeclaration()
This is due to pre-existing jankiness in the way BPF emits extra
declarations for debug info, but we should rollback and then fix forward.1 parent ee617f1 commit cd826d6
File tree
4 files changed
+16
-51
lines changed- clang
- lib/CodeGen
- test/CodeGenCXX
4 files changed
+16
-51
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2018 | 2018 | | |
2019 | 2019 | | |
2020 | 2020 | | |
2021 | | - | |
2022 | | - | |
2023 | | - | |
2024 | | - | |
2025 | | - | |
2026 | | - | |
2027 | | - | |
2028 | | - | |
2029 | | - | |
2030 | | - | |
2031 | | - | |
| 2021 | + | |
| 2022 | + | |
2032 | 2023 | | |
2033 | 2024 | | |
2034 | 2025 | | |
| |||
2068 | 2059 | | |
2069 | 2060 | | |
2070 | 2061 | | |
2071 | | - | |
| 2062 | + | |
2072 | 2063 | | |
2073 | 2064 | | |
2074 | 2065 | | |
| |||
4381 | 4372 | | |
4382 | 4373 | | |
4383 | 4374 | | |
4384 | | - | |
4385 | | - | |
4386 | | - | |
4387 | | - | |
4388 | | - | |
4389 | | - | |
4390 | 4375 | | |
4391 | 4376 | | |
4392 | 4377 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
249 | 249 | | |
250 | 250 | | |
251 | 251 | | |
252 | | - | |
253 | | - | |
254 | | - | |
255 | | - | |
256 | | - | |
257 | 252 | | |
258 | 253 | | |
259 | | - | |
| 254 | + | |
260 | 255 | | |
261 | 256 | | |
262 | 257 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5837 | 5837 | | |
5838 | 5838 | | |
5839 | 5839 | | |
| 5840 | + | |
| 5841 | + | |
| 5842 | + | |
| 5843 | + | |
| 5844 | + | |
| 5845 | + | |
| 5846 | + | |
| 5847 | + | |
5840 | 5848 | | |
5841 | 5849 | | |
5842 | 5850 | | |
| 5851 | + | |
5843 | 5852 | | |
5844 | | - | |
| 5853 | + | |
5845 | 5854 | | |
5846 | | - | |
| 5855 | + | |
5847 | 5856 | | |
5848 | | - | |
| 5857 | + | |
5849 | 5858 | | |
5850 | 5859 | | |
5851 | 5860 | | |
| |||
This file was deleted.
0 commit comments