An off-by-one bug in the target indepedent llvm-objdump code prevents display of a single byte instruction before a label.
Diff Detail
Diff Detail
Event Timeline
Comment Actions
Just a drive-by comment, but you probably need to put the test in the X86 directory if it depends on the x86 disassembler.
Comment Actions
I also wondered about the best location for the input file. The bug is not specific to x86 and there is precedence for x86 files in the Inputs directory, so I just chose that location. I don't care where the test input ultimately lands, but I'll leave it as-is unless somebody insists to move it.
tools/llvm-objdump/llvm-objdump.cpp | ||
---|---|---|
499 | The first line in the comment about the initialization of End. The second line is about the "if (Start == End)". It would probably be better to split the comment. |
Comment Actions
New patch uploaded:
- Moved test file to X86 subdirectory
- Ungrouped code comments.
Thanks reviewers.
The first line in the comment about the initialization of End. The second line is about the "if (Start == End)".
It would probably be better to split the comment.