diff options
| author | Alex Shlyapnikov <alekseys@google.com> | 2018-04-23 20:30:50 +0000 |
|---|---|---|
| committer | Alex Shlyapnikov <alekseys@google.com> | 2018-04-23 20:30:50 +0000 |
| commit | 88b7be0d13759536945d1270fbed114f530890ae (patch) | |
| tree | 5b34a12640d780b107762897dfab3e23126f3cd7 /llvm/lib/CodeGen/LiveVariables.cpp | |
| parent | fa8f5ad9f358d98f3e023eed0c1f0d748584cc60 (diff) | |
| download | bcm5719-llvm-88b7be0d13759536945d1270fbed114f530890ae.tar.gz bcm5719-llvm-88b7be0d13759536945d1270fbed114f530890ae.zip | |
[Sanitizer] Internal Printf string width + left-justify.
Summary:
Example:
Printf("%-5s", "123");
should yield:
'123 '
In case Printf's requested string field width is larger than the string
argument length, the resulting string should be padded up to the requested
width.
For the simplicity sake, implementing left-justified (right padding) only.
Reviewers: eugenis
Subscribers: kubamracek, delcypher, #sanitizers, llvm-commits
Differential Revision: https://reviews.llvm.org/D45906
llvm-svn: 330643
Diffstat (limited to 'llvm/lib/CodeGen/LiveVariables.cpp')
0 files changed, 0 insertions, 0 deletions

