[llvm-branch-commits] [BOLT][BAT] Fix translate for branches added by BOLT (PR #90811)
Maksim Panchenko via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Fri May 3 12:45:51 PDT 2024
================
@@ -48,10 +48,9 @@ static cl::opt<std::string> InputFilename(cl::Positional,
cl::Required,
cl::cat(BatDumpCategory));
-static cl::list<uint64_t> Translate("translate",
- cl::desc("translate addresses using BAT"),
- cl::value_desc("addr"),
- cl::cat(BatDumpCategory));
+static cl::list<std::string>
+ Translate("translate", cl::desc("translate addresses using BAT"),
+ cl::value_desc("addr[:is_from]"), cl::cat(BatDumpCategory));
----------------
maksfb wrote:
```suggestion
cl::value_desc("addr[:is_src]"), cl::cat(BatDumpCategory));
```
https://github.com/llvm/llvm-project/pull/90811
More information about the llvm-branch-commits
mailing list