Details
- Reviewers
jhenderson MaskRay - Commits
- rG78e8011a29d8: Recommit r370661 "[llvm-nm] - Add a test case for case when we dump a symbol…
rL370669: Recommit r370661 "[llvm-nm] - Add a test case for case when we dump a symbol…
rG4b9233cafbde: [llvm-nm] - Add a test case for case when we dump a symbol that belongs to a…
rL370661: [llvm-nm] - Add a test case for case when we dump a symbol that belongs to a…
Diff Detail
Event Timeline
- Addressed review comments.
test/tools/llvm-nm/format-sysv-section.test | ||
---|---|---|
42 | No, we don't have a warning, because the error is silently consumed: There are 16 places around in total where errors are ignored in the same way. I did a quick test to check what GNU nm do. It prints nothing, returns 1 and reports an error: umb@ubuntu:~/tests/66$ nm format-sysv-section.test.tmp2.o --format=sysv bfd plugin: format-sysv-section.test.tmp2.o: ELF section name out of range nm: format-sysv-section.test.tmp2.o: invalid string offset 65535 >= 35 for section `.shstrtab' nm: format-sysv-section.test.tmp2.o: invalid string offset 65535 >= 35 for section `.shstrtab' nm: format-sysv-section.test.tmp2.o: bad value umb@ubuntu:~/tests/66$ echo $? 1 Given that difference I do not think we should add warnings/errors in this patch, since it only adds a test case for |
LGTM.
test/tools/llvm-nm/format-sysv-section.test | ||
---|---|---|
42 | Sorry, yes, I wasn't saying that a new error should be part of this change. |
st_name -> sh_name