[llvm] [llvm-objdump][BPF] infer local label names in BPF disassembly (PR #100550)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Thu Jul 25 11:41:13 PDT 2024


================
@@ -1486,7 +1486,9 @@ collectLocalBranchTargets(ArrayRef<uint8_t> Bytes, MCInstrAnalysis *MIA,
                           std::unordered_map<uint64_t, std::string> &Labels) {
   // So far only supports PowerPC and X86.
----------------
MaskRay wrote:

The comment is now stale. I suggest that we replace it with `// Supported by certain targets.` so that it will not become stale whenever we add a new target.

https://github.com/llvm/llvm-project/pull/100550


More information about the llvm-commits mailing list