Tobias Grosser
19bde907b5
Create a new directory before running the polly script
...
Otherwise the script spams the home directory and, in case there are folders
of previous attempts lying around, it may fail in some unexpected way.
llvm-svn: 160677
2012-07-24 16:58:57 +00:00
Nuno Lopes
2a4b09c9de
teach objectsize about strdup() and strndup()
...
llvm-svn: 160676
2012-07-24 16:28:13 +00:00
Dmitri Gribenko
1c85d5b17d
Comment parsing: retokenized text tokens are now pushed back in correct (not
...
reverse) order
llvm-svn: 160675
2012-07-24 16:10:47 +00:00
Manuel Klimek
86f8bbced4
Introduces a new concept for binding results to matchers
...
as per Chandler's request:
- introduces a new matcher base type BindableMatcher that
provides the bind() call
- makes all dynamic-cast matcher creation functions return
BindableMatchers; the special case about dynamic-cast
matchers is that the node they match on and the node
their child matchers match on are the same node, just
casted to a different type; thus, there is no ambiguity
on what bind() matches on; additionally, those are the
matchers that we name with nouns in the matcher language,
so it's easy for users to intuitively know which matchers
are bindable
To make this change possible, we got rid of a non-orthogonal
implementation of thisPointerType, which had an implicit
dynamic-cast matcher from CallExpr to CXXMemberCallExpr; as
alternative, we now provide a memberCall dynamic-cast matcher
and thisPointerType is a predicate on CXXMemberCallExpr.
Last, the ArgumentAdaptingMatcher is actually not required
for the implementation of makeDynCastAllOfComposite - this
simplification makes it more obvious where the bind() call
can be used based on the matcher creation function types.
llvm-svn: 160673
2012-07-24 13:37:29 +00:00
Dmitry Vyukov
bcf0b7002b
tsan: align report style with Go internal format
...
llvm-svn: 160672
2012-07-24 12:29:43 +00:00
Alexey Samsonov
65d842ae51
Revert r160669 (except for compile flag updates)
...
llvm-svn: 160671
2012-07-24 12:11:38 +00:00
Dmitry Vyukov
69bee8d8f6
tsan: output goroutine creation stack
...
llvm-svn: 160670
2012-07-24 12:03:47 +00:00
Alexey Samsonov
3397013606
[ASan] hacking cmake build: after generating asan runtime, copy it to the Clang lib directory where Clang driver expects to find it.
...
llvm-svn: 160669
2012-07-24 11:49:55 +00:00
Nadav Rotem
465834c85f
Clean whitespaces.
...
llvm-svn: 160668
2012-07-24 10:51:42 +00:00
Timur Iskhodzhanov
bf0f663bca
Fix PR13207 (Mangling of templates with back references when using -cxx-abi microsoft)
...
llvm-svn: 160667
2012-07-24 09:37:54 +00:00
Alexey Samsonov
96b9393f2d
[ASan] Support for cmake build of ASan unittests in 32-bit LLVM build. Currently, to run ASan unit tests both for 32- and 64 bits one has to maintain two distinct LLVM builds. In a bright future, we'd like to use a single build for this
...
llvm-svn: 160666
2012-07-24 08:26:19 +00:00
Nick Lewycky
faa9c3b035
Teach globalopt to not nuke all stores to globals. Keep them around of they
...
might be deliberate "one time" leaks, so that leak checkers can find them.
This is a reapply of r160602 with the fix that this time I'm committing the
code I thought I was committing last time; the I->eraseFromParent() goes
*after* the break out of the loop.
llvm-svn: 160664
2012-07-24 07:21:08 +00:00
Francois Pichet
1c7207c886
Change the way KEYNOMS is defined to be more comprehensible.
...
llvm-svn: 160663
2012-07-24 06:17:24 +00:00
Craig Topper
17300940ae
Change llvm_unreachable in SplitVectorOperand to report_fatal_error. Keeps release builds from crashing if code uses an intrinsic with an illegal type.
...
llvm-svn: 160661
2012-07-24 04:11:21 +00:00
NAKAMURA Takumi
3c72621570
clang/test/CodeGenCXX/debug-info-globalinit.cpp: Fix for -Asserts.
...
llvm-svn: 160660
2012-07-24 02:03:39 +00:00
Nick Lewycky
085970736f
Emit debug info for dynamic initializers. Permit __attribute__((nodebug)) on
...
variables that have static storage duration, it removes debug info on the
emitted initializer function but not all debug info about this variable.
llvm-svn: 160659
2012-07-24 01:40:49 +00:00
Nick Lewycky
cfb4517cc0
Fix whitespace, whoops missed a spot!
...
llvm-svn: 160658
2012-07-24 01:37:23 +00:00
Nick Lewycky
b9e4a3a756
Fix whitespace, tabs to spaces. No functionality change.
...
llvm-svn: 160657
2012-07-24 01:31:55 +00:00
Jim Ingham
c8ff80d6b0
Sanity check the result of Symbol::GetPrologueByteSize - make sure it is not greater than the size of the Symbol returning it.
...
llvm-svn: 160656
2012-07-24 01:31:19 +00:00
Jim Ingham
1bfe4f6417
Use a more efficient API to tell if a process belongs to springboard or not.
...
llvm-svn: 160655
2012-07-24 01:23:53 +00:00
Akira Hatanaka
45da9e2653
Fix function MipsCodeEmitter::emitExternalSymbolAddress to pass test
...
ExecutionEngine/test-fp.ll.
Patch by Petar Jovanovic.
llvm-svn: 160653
2012-07-24 00:08:26 +00:00
Rafael Espindola
a647296b7c
move X86_32ABIInfo::computeInfo out of line.
...
llvm-svn: 160652
2012-07-24 00:01:07 +00:00
Akira Hatanaka
26e9ecb7a3
Add basic ability to setup call frame, and make procedure calls.
...
Hello world will compile and execute with this patch.
Patch by Reed Kotler.
llvm-svn: 160651
2012-07-23 23:45:54 +00:00
Dmitri Gribenko
47f622d414
Comment parser unit tests: split a huge test case
...
llvm-svn: 160649
2012-07-23 23:37:11 +00:00
Rafael Espindola
75419dc151
Make classifyReturnType and classifyArgumentType private.
...
llvm-svn: 160648
2012-07-23 23:30:29 +00:00
Dmitri Gribenko
89630bce27
Comment parser unit tests: reduce code duplication
...
llvm-svn: 160647
2012-07-23 23:09:32 +00:00
Richard Smith
45fbfc7f11
Do not warn about a function decl / direct init ambiguity if the function has a trailing return type.
...
llvm-svn: 160646
2012-07-23 21:41:30 +00:00
Eric Christopher
2ce6541f3b
Fix a "Bad fd number" error on some platforms due to a less portable
...
redirection in the system call.
Patch by Andy Gibbs.
llvm-svn: 160644
2012-07-23 20:54:17 +00:00
Nuno Lopes
eb9d2755b2
make ConstantRange::zeroExtend() optimal
...
llvm-svn: 160643
2012-07-23 20:33:29 +00:00
Richard Trieu
1feac1cef9
Add operator== to APSInt. This will compare the signed bit before doing
...
the comparison. This prevents large unsigned integers from being equal to
signed negative integers of the same bit width.
llvm-svn: 160642
2012-07-23 20:24:23 +00:00
Richard Trieu
c320c745cc
Change APInt to APSInt in one instance. Also change a call to operator==() to
...
APSInt::isSameValue() when comparing different sized APSInt's.
llvm-svn: 160641
2012-07-23 20:21:35 +00:00
Dmitri Gribenko
e3942ef9a4
add AST unittests to CMake build system
...
llvm-svn: 160640
2012-07-23 20:11:34 +00:00
Eric Christopher
118c1961ae
Fix this for gdb 7.4.
...
Patch by Andy Gibbs.
llvm-svn: 160639
2012-07-23 19:41:58 +00:00
Dmitri Gribenko
378458d597
libclang comments AST: clang_ParamCommandComment_getParamName: don't assert
...
when a \param command does not have a parameter name, just return an empty
string instead.
llvm-svn: 160638
2012-07-23 19:41:49 +00:00
Dan Gohman
f64ff8ed3a
An objc_retain can serve as a may-use for a different pointer.
...
rdar://11931823.
llvm-svn: 160637
2012-07-23 19:27:31 +00:00
Akira Hatanaka
adec58c091
Add comment for relocations MO_HIGHER and HIGHEST in MipsBaseInfo.h.
...
llvm-svn: 160636
2012-07-23 19:19:20 +00:00
Michael Han
3be3b44cdb
Refactor handler functions for thread safety attributes.
...
Make handler functions for thread safety attributes consistent with other attributes handler functions
by removing the bool parameter from some of the thread safety attributes handler functions and extracting
common checks out of different handler functions.
llvm-svn: 160635
2012-07-23 18:48:41 +00:00
Dmitri Gribenko
4b7f5fe572
Comment Sema: refactor handling of 'ParmVarDecl's and save them in Sema members.
...
llvm-svn: 160634
2012-07-23 17:40:30 +00:00
Dmitri Gribenko
d73e4ce992
Comment AST: add InlineContentComment::RenderKind to specify a default
...
rendering mode for clients that don't want to interpret Doxygen commands.
Also add a libclang API to query this information.
llvm-svn: 160633
2012-07-23 16:43:01 +00:00
Micah Villmow
9eedce1e7c
Test revert of test changes.
...
llvm-svn: 160632
2012-07-23 16:42:45 +00:00
Micah Villmow
780c24f19c
Test commit.
...
llvm-svn: 160631
2012-07-23 16:37:24 +00:00
Alexander Potapenko
51e6488b31
Intercept CFAllocator for each thread in the program.
...
Test that child threads use the ASan allocator, that allocated memory can be passed to another thread and deallocated on it.
This should fix http://code.google.com/p/address-sanitizer/issues/detail?id=81
llvm-svn: 160630
2012-07-23 14:07:58 +00:00
Nadav Rotem
1088811c33
Suppress a warning.
...
llvm-svn: 160629
2012-07-23 13:44:15 +00:00
Timur Iskhodzhanov
49b52efab1
Follow-up: fix the quotes
...
llvm-svn: 160626
2012-07-23 09:43:03 +00:00
Timur Iskhodzhanov
284f98414b
Replace wrong CHECK array mangling expectations with correct CHECK-NOT+FIXME (PR13182)
...
llvm-svn: 160625
2012-07-23 09:32:54 +00:00
Alexey Samsonov
37d5134f38
[ASan] minor fixes to silence cmake build warnings
...
llvm-svn: 160624
2012-07-23 09:11:58 +00:00
Nadav Rotem
7f829e4d32
Doxygenify the comments of ISD nodes.
...
llvm-svn: 160623
2012-07-23 09:04:00 +00:00
Sylvestre Ledru
830885ca64
Fix a typo (the the => the)
...
llvm-svn: 160622
2012-07-23 08:59:39 +00:00
Sylvestre Ledru
35521e2310
Fix a typo (the the => the)
...
llvm-svn: 160621
2012-07-23 08:51:15 +00:00
Alexander Potapenko
7f3e84c9fd
For wild addresses in the shadow or shadow gap areas print an error message instead of crashing on a check.
...
Add AddressSanitizer.MemsetWildAddressTest that makes sure a proper error message is printed.
llvm-svn: 160620
2012-07-23 08:22:27 +00:00