- Aug 02, 2012
-
-
Jakob Stoklund Olesen authored
Whenever both instruction depths and instruction heights are known in a block, it is possible to compute the length of the critical path as max(depth+height) over the instructions in the block. The stored live-in lists make it possible to accurately compute the length of a critical path that bypasses the current (small) block. llvm-svn: 161197
-
Howard Hinnant authored
__time_get_storage<char> to match the initialization behavior in __time_get_storage<wchar>. Without the initialization, valgrind reports errors in the subsequent calls to strftime_l. llvm-svn: 161196
-
Howard Hinnant authored
integers which remain unused and are subsequently leaked, so the test fail when run under valgrind. Unless I'm overlooking a subtle reason why they are needed I think they can be removed, allowing these tests to pass under valgrind. The attached patch removes the variables. If there is a reason for them to exist, I can change this to just delete them at the end of the test. llvm-svn: 161195
-
Fariborz Jahanian authored
// rdar://11913153 llvm-svn: 161194
-
Howard Hinnant authored
that the valgrind configuration passed to lit.py is used to run .pass tests. llvm-svn: 161193
-
Howard Hinnant authored
localization/locale.categories/category.collate/category.ctype/locale.ctype.byname/is_1.pass.cpp and scan_is.pass.cpp. The tests fail when the character class being tested is compound, like ctype_base::alnum or ctype_base::graph, because the existing series of conditionals in do_is an do_scan_is will abort too early. For instance, if the character class being tested is alnum, and the character is numeric, do_is will return false because iswalpha_l will return false, 'result' becomes false, and the 'true' result from the later call to iswdigit_l ends up being ignored . A similar problem exists in do_scan_is. llvm-svn: 161192
-
Akira Hatanaka authored
of MipsTargetMachine.cpp. llvm-svn: 161191
-
Howard Hinnant authored
std::thread::hardware_concurrency for platforms that don't offer sysctl, but do provide a POSIX sysconf and _SC_NPROCESSORS_ONLN. llvm-svn: 161190
-
Akira Hatanaka authored
test o32_cc_vararg.ll. llvm-svn: 161189
-
Howard Hinnant authored
test/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/pointer.pass.cpp to accept '(nil)' as a valid representation for NULL so that the test passes on Linux. The same thing is already done in some other tests, like in /test/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/put_pointer.pass.cpp. llvm-svn: 161188
-
Fariborz Jahanian authored
objects used as dictionary subscript objects. // rdar://11913153 llvm-svn: 161187
-
Dmitri Gribenko authored
llvm-svn: 161186
-
rdar://problem/11846023Enrico Granata authored
<rdar://problem/11846023> Fixing a bug where malformed DWARF could lead to an endless recursion with synthetic children llvm-svn: 161185
-
Jakob Stoklund Olesen authored
Don't cause regunit intervals to be computed just to verify them. Only check the already cached intervals. llvm-svn: 161183
-
Jakob Stoklund Olesen authored
LiveRangeEdit::eliminateDeadDefs() can delete a dead instruction that reads unreserved physregs. This would leave the corresponding regunit live interval dangling because we don't have shrinkToUses() for physical registers. Fix this problem by turning the instruction into a KILL instead of deleting it. This happens in a landing pad in test/CodeGen/X86/2012-05-19-CoalescerCrash.ll: %vreg27<def,dead> = COPY %EDX<kill>; GR32:%vreg27 becomes: KILL %EDX<kill> An upcoming fix to the machine verifier will catch problems like this by verifying regunit live intervals. This fixes PR13498. I am not including the test case from the PR since we already have one exposing the problem once the verifier is fixed. llvm-svn: 161182
-
Alexander Potapenko authored
llvm-svn: 161181
-
Jakob Stoklund Olesen authored
This trivial helper function tests if a register contains a register unit. It is similar to regsOverlap(), but with asymmetric arguments. llvm-svn: 161180
-
NAKAMURA Takumi authored
llvm-svn: 161179
-
Jakob Stoklund Olesen authored
llvm-svn: 161178
-
Hongbin Zheng authored
llvm-svn: 161177
-
Alexander Potapenko authored
Some refactoring for asan_symbolize.py: introduced the Symbolizer class and implemented DarwinSymbolizer for atos-based symbolization, BreakpadSymbolizer for breakpad-based symbolization (files produced by the dump_syms tool, http://code.google.com/p/google-breakpad/source/browse/#svn%2Ftrunk%2Fsrc%2Ftools%2Fmac%2Fdump_syms) and ChainSymbolizer to allow falling back if a symbolizer hadn't succeeded. Fixed pylint warnings. llvm-svn: 161176
-
Hans Wennborg authored
Contributed by Brad Smith <brad@comstyle.com> llvm-svn: 161175
-
Tobias Grosser authored
Contributed by: Michael Kruse <MichaelKruse@meinersbur.de> llvm-svn: 161174
-
Hans Wennborg authored
in the default search path. Compilers on *BSD OS's only include /usr/include by default. Contributed by Brad Smith <brad@comstyle.com> llvm-svn: 161173
-
Nuno Lopes authored
llvm-svn: 161172
-
Nuno Lopes authored
llvm-svn: 161171
-
Alexey Samsonov authored
llvm-svn: 161170
-
Alexey Samsonov authored
llvm-svn: 161169
-
Alexey Samsonov authored
[Sanitizer] Workaround for a compiler warning - ISO C++ forbids casting pointer-to-function to pointer-to-object, so we use cast via integral type llvm-svn: 161168
-
Alexander Potapenko authored
Make strcat() and strncat() more standard-compliant (check for invalid parameters even if zero bytes is copied, more accurate overlap check) Fix the tests that were relying on the incorrect behavior. llvm-svn: 161167
-
Alexey Samsonov authored
llvm-svn: 161166
-
Hans Wennborg authored
Use "%clang_cc1" vs "not %clang_cc1" instead. Also use -fsyntax-only. llvm-svn: 161165
-
Bill Wendling authored
llvm-svn: 161164
-
Jiangning Liu authored
llvm-svn: 161163
-
Jiangning Liu authored
llvm-svn: 161162
-
Jiangning Liu authored
llvm-svn: 161161
-
Tobias Grosser authored
Contributed by: Yabin Hu <yabin.hwu@gmail.com> llvm-svn: 161160
-
Jiangning Liu authored
llvm-svn: 161159
-
Tobias Grosser authored
llvm-svn: 161158
-
Tobias Grosser authored
llvm-svn: 161157
-