[llvm-commits] [commit-after-approval] printf("foo %s baz\n", "bar") -> puts("foo bar baz")
Mike Stump
mrs at apple.com
Mon Aug 3 13:22:15 PDT 2009
On Aug 3, 2009, at 10:48 AM, Ryan Flynn wrote:
> given a printf() call format containing a single "%s" conversion
> specifier and a constant string parameter, inlines parameter into
> format and lowers printf() to puts().
-fno-builtin needs to avoid having this done in general. Some
environments are carefully crafted (-ffreestanding -mkernel) and the
transform can break them.
More information about the llvm-commits
mailing list