Go to file
Siva Chandra f5941b8d08 [TestMiBreak] Print a formatted string via printf in the test case.
Summary:
If the string is not formatted, these can happen when compiled with GCC:
1. If it is a null string "", then GCC completely removes the call to
printf even with -O0.
2. If the string is a single character string, say "\n" for example,
then GCC replaces the call to printf with a call to putchar.
3. If the string length is greater than 1, but is not formatted, then
GCC replaces the call to printf with a call to puts.

All the above will fail the test as we want a breakpoint on "printf" to
hit.

Test Plan: dotest.py -C gcc -p TestMiBreak

Reviewers: chying, ki.stfu

Reviewed By: ki.stfu

Subscribers: lldb-commits

Differential Revision: http://reviews.llvm.org/D9025

llvm-svn: 235034
2015-04-15 18:32:17 +00:00
clang [Objective-C Sema]This patch fixes the warning when clang issues 2015-04-15 17:26:21 +00:00
clang-tools-extra Change range-based for-loop to be -Wrange-loop-analysis clean. 2015-04-15 01:21:57 +00:00
compiler-rt tsan: fix parsing of second_deadlock_stack flag 2015-04-14 10:32:33 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc Implement atanh builtin 2015-04-07 16:20:22 +00:00
libcxx Qualify an internal call in is_assignable to prevent ADL lookup, which would 'complete' an type definition unnecessarily. Thanks to Richard Smith for the report. 2015-04-14 13:53:53 +00:00
libcxxabi Declare __cxa_new_handler as extern "C", or it declares a new variable 2015-04-15 15:35:56 +00:00
lld [Mips] clang-format the code 2015-04-15 18:32:05 +00:00
lldb [TestMiBreak] Print a formatted string via printf in the test case. 2015-04-15 18:32:17 +00:00
llgo [llgo] add buildbot-slave config 2015-04-08 01:41:46 +00:00
llvm [Orc] Refactor the CompileOnDemandLayer to make its addModuleSet method 2015-04-15 18:26:24 +00:00
openmp The generation of the hierarchy used by hierarchical barrier improved in how the generation reacts to affinity set to none, or disabled, or no affinity available, or oversubscription. Some cleanup actions based on review comments to follow: need to use meaningful names instead of digital constants, e.g. use enumerators. 2015-04-13 18:51:59 +00:00
polly Allow loops in non-affine subregions -- SCoP Modeling 2015-04-12 22:58:40 +00:00