Move it into main function so the checking is effective for all actions user may do with llvm-objdump; notably, -r and -s in
addition to existing -d. Match GNU behavior.
prepare for patch on PR41911
Differential D63631
[llvm-objdump] Move --start-address >= --stop-address check out of the -d code. ychen on Jun 20 2019, 4:52 PM. Authored by
Details Move it into main function so the checking is effective for all actions user may do with llvm-objdump; notably, -r and -s in prepare for patch on PR41911
Diff Detail
Event TimelineComment Actions I think the description should mention that the --start-address >= --stop-address check has been moved out of the -d code. This can be useful for -t -r Comment Actions Thank you @MaskRay. Description changed. I intentionally leave out -t since I suspect it is a bug. See my comment in https://bugs.llvm.org/show_bug.cgi?id=41911.
|
If this line (no command specified) gives diagnostics, the -d -r -s RUN lines may be unnecessary.