add the xcoff symbol size for the llvm-nm.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
The testing for this patch really needs to be dramatically simplified - I can't tell if there's anything important about the various different symbols present in the size.test output, for the purposes of that test.
@Esme, what's missing from yaml2obj to be able to do this test? How soon do you think you could add it?
the symbol size also need csect auxiliary entry of symbol.
and I just re_use the same object file "test_gcc.o" in the basic.test
As noted in the other llvm-nm patch, I'll be offline from the end of today until the 4th of January, and won't be able to respond to anything in that time.
llvm/test/tools/llvm-nm/XCOFF/size.test | ||
---|---|---|
3–5 | Similar comment to the basic.test test case: move these comments to near the CHECK point, and add trailing full stops (sorry for not thinking about this earlier - now that this is written here, it's clear to me they belong elsewhere in the file). | |
7–8 | As in other test cases, don't use --docnum with only one input, and don't use --check-prefix with only one set of CHECK lines. | |
14–20 | Remove excessive spacing. Do you need the Address: 0x0 line? |
llvm/test/tools/llvm-nm/XCOFF/size.test | ||
---|---|---|
14–20 | the yaml2obj will default to 0x0 if not specific the address. |
Similar comment to the basic.test test case: move these comments to near the CHECK point, and add trailing full stops (sorry for not thinking about this earlier - now that this is written here, it's clear to me they belong elsewhere in the file).