Matt Kopec
097cd6262d
Change Linux/POSIX to output inferior output in realtime.
...
llvm-svn: 176833
2013-03-11 22:31:31 +00:00
Fariborz Jahanian
05e2aaadae
Objective-C: When using super.prop, property should be
...
looked up the current class's super class.
// rdar://13349296
llvm-svn: 176832
2013-03-11 22:26:33 +00:00
David Blaikie
789beb5300
Remove duplicate test contents.
...
llvm-svn: 176831
2013-03-11 22:10:14 +00:00
Nick Lewycky
48beb21185
Fix a crasher newly introduced in r176659/r176649, where fast-isel tries to
...
lower an expect intrinsic that is a constant expression.
llvm-svn: 176830
2013-03-11 21:44:37 +00:00
Jordan Rose
2eb7195ee6
[analyzer] Look for calls along with lvalue nodes in trackNullOrUndefValue.
...
r176737 fixed bugreporter::trackNullOrUndefValue to find nodes for an lvalue
even if the rvalue node had already been collected. This commit extends that
to call statement nodes as well, so that if a call is contained within
implicit casts we can still track the return value.
No test case because node reclamation is extremely finicky (dependent on
how the AST and CFG are built, and then on our current reclamation rules,
and /then/ on how many nodes were generated by the analyzer core and the
current set of checkers). I consider this a low-risk change, though, and
it will only happen in cases of reclamation when the rvalue node isn't
available.
<rdar://problem/13340764>
llvm-svn: 176829
2013-03-11 21:31:46 +00:00
Kevin Enderby
f15856ebb4
Fixes disassembler crashes on 2013 Haswell RTM instructions.
...
rdar://13318048
llvm-svn: 176828
2013-03-11 21:17:13 +00:00
Bill Wendling
9534d8885f
Don't remove a landing pad if the invoke requires a table entry.
...
An invoke may require a table entry. For instance, when the function it calls
is expected to throw.
<rdar://problem/13360379>
llvm-svn: 176827
2013-03-11 20:53:00 +00:00
Ted Kremenek
4b3ecba537
Disallow using -fmodules with -no-integrated-as.
...
Modules enables features such as auto-linking, and we simply do not want to
support a matrix of subtly enabled/disabled features depending on whether or
not a user is using the integrated assembler.
It isn't clear if this is the best place to do this check. For one thing,
these kind of errors are not caught by the serialized diagnostics.
Fixes <rdar://problem/13289240>
llvm-svn: 176826
2013-03-11 20:51:52 +00:00
Greg Clayton
a4f4223853
Buildbot was failing to build. I guess classes declared in implementation files are treated differently on various compilers causing a "friend class Foo;" to fail for forward declared classes in global namespace.
...
llvm-svn: 176823
2013-03-11 20:02:03 +00:00
Howard Hinnant
41801f14ed
This SO question: http://stackoverflow.com/questions/15344402/how-can-i-read-a-0xff-in-a-file-with-libc-istream-iterator/15347225#15347225 highlighted the lack of a cast in the implementation of std::cin. Added. I unfortunately don't have a test case to add to the suite since this bug only shows itself when using std::cin. The current testsuite setup does not have a way a good way to test std::cin.
...
llvm-svn: 176822
2013-03-11 19:53:48 +00:00
Greg Clayton
bff7825a57
<rdar://problem/13372857>
...
Fixed the exception breakpoints to always use a file filter to make setting exception breakpoint efficient.
llvm-svn: 176821
2013-03-11 18:42:51 +00:00
Adrian Prantl
73409ce90f
Improve the caching of debuginfo Objective C interface types.
...
Generate forward declarations that are RAUW'd by finalize().
We thus avoid outputting the same type several times in multiple
stages of completion.
llvm-svn: 176820
2013-03-11 18:33:46 +00:00
Vincent Lejeune
e5ecf10a02
R600: Fix JUMP handling so that MachineInstr verification can occur
...
This allows R600 Target to use the newly created -verify-misched llc flag
llvm-svn: 176819
2013-03-11 18:15:06 +00:00
Reid Kleckner
c9d382b5a4
[msan] intercept dlopen and clear shadow for it
...
Summary:
The loader does not call mmap() through the PLT because it has to
bootstrap the process before libc is present. Hooking dlopen() isn't
enough either because the loader runs module initializers before
returning, and they could run arbitrary msan instrumented code.
If msandr is present, then we can intercept the mmaps from dlopen at the
syscall layer and clear the shadow there. If msandr is missing, we
clear the shadow after dlopen() and hope any initializers are trivial.
Reviewers: eugenis
CC: kcc, llvm-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D509
llvm-svn: 176818
2013-03-11 18:07:42 +00:00
Richard Smith
06d274fdb7
Add -Wc99-compat warning for C11 unicode string and character literals.
...
llvm-svn: 176817
2013-03-11 18:01:42 +00:00
Jan Wen Voung
183ced44fe
Partly revert "Move clang tests that depend on llvm/ADT/Statistic.h to a subdir".
...
This reverts commit 176730, and uses "REQUIRES: asserts" instead.
llvm-svn: 176815
2013-03-11 17:48:03 +00:00
Sean Silva
cc268f0e05
[docs] Add ellipsis.
...
llvm-svn: 176810
2013-03-11 17:07:47 +00:00
Eli Bendersky
9c0d49331e
Missing period in doc
...
llvm-svn: 176809
2013-03-11 16:51:15 +00:00
NAKAMURA Takumi
a60c7a0f4b
llvm/test/CodeGen/X86/handle-move.ll: Mark it as XFAIL:cygming. Investigating.
...
llvm-svn: 176808
2013-03-11 16:30:26 +00:00
Sean Silva
22ba6ec69a
[docs] Remove explicit authorship.
...
In the spirit of r172109. Version control keeps a far more detailed
record of authorship anyways.
llvm-svn: 176807
2013-03-11 16:25:16 +00:00
Argyrios Kyrtzidis
1b5b1ce4f8
[libclang] Fix a test and a warning on windows.
...
Patch by Guy Benyei!
llvm-svn: 176806
2013-03-11 16:03:17 +00:00
Alexey Samsonov
db7d9656bb
[Sanitizer] Implement BlockingMutex::CheckLocked()
...
llvm-svn: 176805
2013-03-11 15:45:20 +00:00
Alexander Potapenko
1f78ad5da4
[ASan] Reduce the local buffer size in Report() not to fail the check enforced when building TSan runtime.
...
llvm-svn: 176804
2013-03-11 13:36:39 +00:00
Joey Gouly
4bd55d9356
Add a test case for the 'vec_type_hint' attribute that was introduced in
...
r176686. I missed this file in the previous commit.
llvm-svn: 176803
2013-03-11 12:38:45 +00:00
Alexander Potapenko
18c916c6c5
[ASan] Try to use a small (512 bytes) stack-local buffer in Report() for short messages, fall back to MmapOrDie() in the case of a failure.
...
This shall eliminate most of the cryptic "ERROR: failed to mmap" messages caused by recursively calling MmapOrDie() from MmapOrDie().
llvm-svn: 176802
2013-03-11 11:47:43 +00:00
Alexander Potapenko
92cc1a6d24
[ASan] don't call strerr from functions that map memory, since this results in malloc().
...
llvm-svn: 176800
2013-03-11 10:21:28 +00:00
Kostya Serebryany
0f5c20b417
[sanitizer] make SizeClassAllocator64::GetBlockBegin more bullet proof (by Sergey Matveev)
...
llvm-svn: 176799
2013-03-11 09:43:12 +00:00
NAKAMURA Takumi
1e02e73c30
Suppress atomic(32|64).ll as XFAIL on win32 codegen. Investigating.
...
llvm-svn: 176798
2013-03-11 08:39:48 +00:00
NAKAMURA Takumi
756cf8867a
R600MachineScheduler.cpp: Fix use cases of dbgs(). Don't include <iostream> here.
...
llvm-svn: 176797
2013-03-11 08:19:28 +00:00
Lang Hames
82d48e7fb0
Remove date from test case file name. The PR number provides a unique ID already.
...
llvm-svn: 176796
2013-03-11 03:49:23 +00:00
Shankar Easwaran
fc9d0a7d9b
[ELF] Set values for bss_start and end symbols properly, If there are two load segments with RW permissions, bss_start and end may get set inappropriate
...
llvm-svn: 176795
2013-03-11 01:38:22 +00:00
Nick Lewycky
7b287eea22
Correct this error message, and most importantly make it distinct from the
...
error above. Based on a patch by Peter Zotov!
llvm-svn: 176794
2013-03-10 22:01:44 +00:00
Nick Lewycky
5f50854186
Use LLVMBool instead of 'bool' in the C API. Based on a patch by Peter Zotov!
...
llvm-svn: 176793
2013-03-10 21:58:22 +00:00
Jason Molenda
4439450803
Xcode seems to want these lines added to the project file.
...
llvm-svn: 176792
2013-03-10 21:56:57 +00:00
Hal Finkel
f610be9f36
BBVectorize: Fixup debugging statements
...
After the recent data-structure improvements, a couple of debugging statements
were broken (printing pointer values).
llvm-svn: 176791
2013-03-10 20:57:42 +00:00
Sylvestre Ledru
1573b1b32c
Match the new declaration of clang::ASTContext::getFunctionType introduced in clang r176726. Fix the build of lldb
...
llvm-svn: 176790
2013-03-10 20:13:16 +00:00
Anton Yartsev
a3c9ba364e
PR15480: fixed second parameter types of vec_lde, vec_lvebx, vec_lvehx, and vec_lvewx according to AltiVec Programming Interface Manual
...
llvm-svn: 176789
2013-03-10 16:25:43 +00:00
Benjamin Kramer
b23fc91cdc
Driver: do not strip file extensions when printing diagnostics.
...
Before: clang-3: error: no input files
After: clang-3.3: error: no input files
This means that we'll also print clang.exe on windows, but I don't see a problem
with that.
llvm-svn: 176788
2013-03-10 13:16:18 +00:00
Jakub Staszak
df17ddd56b
Cleanup #includes.
...
llvm-svn: 176787
2013-03-10 13:11:23 +00:00
Guy Benyei
3832bfd557
Fix indirect byval passing of records in address spaced memory. Allocate memory on stack, and memcpy the actual value before the call.
...
llvm-svn: 176786
2013-03-10 12:59:00 +00:00
Jakub Staszak
f0803370cb
Remove unneeded #include.
...
llvm-svn: 176785
2013-03-10 01:15:14 +00:00
Jakub Staszak
9342333f39
Add some constantness in MachinePostDominators.h.
...
llvm-svn: 176784
2013-03-10 01:14:42 +00:00
Jakub Staszak
c733bf2669
Remove unneeded #includes. Use forward declarations instead.
...
llvm-svn: 176783
2013-03-10 00:34:01 +00:00
Jakub Staszak
767621dd1e
Remove unneeded #includes. Use forward declarations instead.
...
llvm-svn: 176782
2013-03-10 00:20:16 +00:00
Richard Smith
531c9a0c27
www tweaks to embiggen up our near-complete C++11 and C11 support.
...
llvm-svn: 176781
2013-03-10 00:11:00 +00:00
Richard Smith
9b36209e31
When lexing in C11 mode, accept unicode character and string literals, per C11
...
6.4.4.4/1 and 6.4.5/1.
llvm-svn: 176780
2013-03-09 23:56:02 +00:00
Richard Smith
c98bb4ed99
Handle _Pragma on a u8, u, or U string literal per the C11 specification. Also
...
handle raw string literals here. C++11 doesn't yet specify how they will
behave, but discussion on core suggests that we should just strip off
everything but the r-char-sequence.
llvm-svn: 176779
2013-03-09 23:30:15 +00:00
Craig Topper
fa9888fce7
Remove an unused member variable from HelpPrinter. Move another member variable to be a local variable in the only method that uses it.
...
llvm-svn: 176778
2013-03-09 23:29:37 +00:00
Lang Hames
be3d971143
Don't glue users to extract_subreg when selecting the llvm.arm.ldrexd
...
intrinsic - it can cause impossible-to-schedule subgraphs to be
introduced.
PR15053.
llvm-svn: 176777
2013-03-09 22:56:09 +00:00
Jakub Staszak
56436543b3
Remove unneeded cast.
...
llvm-svn: 176776
2013-03-09 19:34:14 +00:00