diff options
| author | diggerlin <digger.llvm@gmail.com> | 2019-12-06 12:22:28 -0500 |
|---|---|---|
| committer | diggerlin <digger.llvm@gmail.com> | 2019-12-06 12:22:28 -0500 |
| commit | c04b63eccd5f9fc19da410caea88d29f11e9886c (patch) | |
| tree | 2166ad0bdd12133423dbe857c262cecee2da7267 /llvm/test/CodeGen/Generic/llc-start-stop-instance-errors.ll | |
| parent | b6f9d7b8fb2eb6b78ac93ebd5ea4e36c04469285 (diff) | |
| download | bcm5719-llvm-c04b63eccd5f9fc19da410caea88d29f11e9886c.tar.gz bcm5719-llvm-c04b63eccd5f9fc19da410caea88d29f11e9886c.zip | |
[NFC][AIX][XCOFF] fixed compile warning on the strncpy.
SUMMARY:
There is warning when compile the file XCOFFObjectWriter.cpp
/srv/llvm-buildbot-srcatch/llvm-build-dir/openmp-gcc-x86_64-linux-debian/llvm.src/llvm/lib/MC/XCOFFObjectWriter.cpp:414:17: warning: 'char* strncpy(char*, const char*, size_t)' specified bound 8 equals destination size [-Wstringop-truncation]
The patch fixed the warning.
Reviewer: daltenty
Differential Revision: https://reviews.llvm.org/D71119
Diffstat (limited to 'llvm/test/CodeGen/Generic/llc-start-stop-instance-errors.ll')
0 files changed, 0 insertions, 0 deletions

