[PATCH] D80953: [AIX] asm output: use character literals in byte lists for strings
Hubert Tong via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 9 10:59:12 PDT 2020
hubert.reinterpretcast added inline comments.
================
Comment at: llvm/lib/MC/MCAsmStreamer.cpp:905
+ if (isPrint(C)) {
+ OS << format(CharacterLiteralFormatString, static_cast<char>(C));
+ return;
----------------
May need to hedge against `-Werror,-Wformat-security` warning as seen recently on another commit.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D80953/new/
https://reviews.llvm.org/D80953
More information about the llvm-commits
mailing list