[PATCH] D65140: [yaml2obj] - Allow custom fields for the SHT_UNDEF sections.
George Rimar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 25 01:18:41 PDT 2019
grimar added a comment.
In D65140#1600570 <https://reviews.llvm.org/D65140#1600570>, @MaskRay wrote:
> If you just want to check the size of a file, just use `ls -l`. As POSIX says:
>
> > If the -l option is specified, the following information shall be written for files other than character special and block special files:
>
>
>
> "%s %u %s %s %u %s %s\n", <file mode>, <number of links>,
> <owner name>, <group name>, <size>, <date and time>,
> <pathname>
>
>
> You can just use `ls -l %t | cut -d ' ' -f 5` to retrieve the size field.
I'll try this, thanks!
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D65140/new/
https://reviews.llvm.org/D65140
More information about the llvm-commits
mailing list