Justin Holewinski
ed7d8d5500
Update release notes for NVPTX
...
llvm-svn: 169280
2012-12-04 16:11:51 +00:00
Dmitry Vyukov
1b46993598
tsan: output thread names
...
llvm-svn: 169279
2012-12-04 15:46:05 +00:00
Alexander Kornienko
0ea8e107fc
Clang-format error recovery part 1
...
Reviewers: klimek
CC: cfe-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D163
llvm-svn: 169278
2012-12-04 15:40:36 +00:00
NAKAMURA Takumi
dfaed1bfde
c-index-test.c: Make C89-compliant.
...
llvm-svn: 169277
2012-12-04 15:32:03 +00:00
Dmitri Gribenko
b506ba1d79
libclang: Add a function to libclang for retrieving the bit width value
...
Patch by Jyun-Yan You.
llvm-svn: 169276
2012-12-04 15:13:46 +00:00
Kostya Serebryany
242b6305f0
[tsan] add a compile-time error for 64-bit-only support
...
llvm-svn: 169275
2012-12-04 15:13:30 +00:00
Daniel Jasper
6021c4a249
Make parenthesis counting and aligning a bit saner.
...
Review: http://llvm-reviews.chandlerc.com/D162
llvm-svn: 169274
2012-12-04 14:54:30 +00:00
Dmitry Vyukov
4b82b2bb6e
tsan: make atomic operations atomic again
...
llvm-svn: 169273
2012-12-04 14:50:10 +00:00
Alexander Kornienko
b7076a2308
Enum formatting implementation
...
Reviewers: djasper, klimek
Reviewed By: klimek
CC: cfe-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D161
llvm-svn: 169272
2012-12-04 14:46:19 +00:00
Manuel Klimek
6137942d09
Fix spelling I ran over while proof-reading tests.
...
llvm-svn: 169271
2012-12-04 14:42:08 +00:00
Kostya Serebryany
7436d95c9c
[tsan] test the allocator with CompactSizeClassMap
...
llvm-svn: 169270
2012-12-04 14:39:51 +00:00
Eli Bendersky
0ffc0d4ff3
Get rid of references to Tcl, DejagGNU, old test structure, discourage the use
...
of grep in favor of FileCheck, and other cleanups.
llvm-svn: 169269
2012-12-04 14:34:00 +00:00
NAKAMURA Takumi
067fcb5618
ToolChains.cpp: Fixup r169260, clang/Config/config.h needs to be listed *last*, or llvm/Config/llvm-config.h could not be read in header files.
...
llvm-svn: 169268
2012-12-04 14:31:59 +00:00
Kostya Serebryany
f299288f55
[tsan] minor interface refactoring
...
llvm-svn: 169267
2012-12-04 14:15:17 +00:00
Dmitry Vyukov
4ef6b2bd03
tsan: fix nand operation
...
llvm-svn: 169266
2012-12-04 14:08:39 +00:00
Dmitry Vyukov
01ea653166
tsan: add __attribute__((visibility("default"))) to interface functions
...
llvm-svn: 169265
2012-12-04 14:01:21 +00:00
Kostya Serebryany
5e6f833bdd
[tsan] refactor the allocator tests to allow testing other flavours of the allocator (add templates)
...
llvm-svn: 169264
2012-12-04 13:59:22 +00:00
Eli Bendersky
42e10733ae
Remove the very out-of-date listing of "very important LLVM areas". I don't
...
think it adds much and keeping it up-to-date is (obviously) a chore.
llvm-svn: 169263
2012-12-04 13:55:17 +00:00
Manuel Klimek
5472a52c20
Fixes crash in isDerivedFrom for recursive templates.
...
llvm-svn: 169262
2012-12-04 13:40:29 +00:00
Daniel Jasper
8b5297117b
Small fixes to unary operator recognition and handling of include
...
directives.
llvm-svn: 169261
2012-12-04 13:02:32 +00:00
Chandler Carruth
e9bf349247
Autotools has the same include guard for both Clang and LLVM's config.h.
...
Shuffling order causes the wrong one to win.
CMake didn't exhibit this problem because Clang's has *no* guards.
I'll fix this properly tomorrow when Eric and I can check both build
systems and get them to DTRT, but for now unbreak some bots by hoisting
this header.
llvm-svn: 169260
2012-12-04 12:24:59 +00:00
Dmitry Vyukov
55b47cad33
tsan: fix trace handling when trace is reused between threads
...
llvm-svn: 169259
2012-12-04 12:19:53 +00:00
Daniel Jasper
f9ae1527c7
Update matcher documentation with script.
...
We still need to make the python script understand some of the new
matchers, but this should be an improvement.
llvm-svn: 169258
2012-12-04 12:08:08 +00:00
Daniel Jasper
9f501295bd
Add parameterCountIs() matcher.
...
llvm-svn: 169257
2012-12-04 11:54:27 +00:00
Evgeniy Stepanov
64bc1ab349
Improve MSan tests.
...
llvm-svn: 169256
2012-12-04 11:42:05 +00:00
NAKAMURA Takumi
18261164a1
KillTheDoctor.cpp: Restore Win32 SDK headers before r169251.
...
llvm-svn: 169255
2012-12-04 11:34:27 +00:00
Daniel Jasper
9b155475a8
Replace workarounds with correct fixes.
...
Also fix header guard.
http://llvm-reviews.chandlerc.com/D159
llvm-svn: 169254
2012-12-04 10:50:12 +00:00
Chandler Carruth
2b45069fa7
Clean up the sample include orderings, not that it really matters...
...
llvm-svn: 169253
2012-12-04 10:46:21 +00:00
Chandler Carruth
4d88a1c233
Sort the #include lines for tools/...
...
Again, tools are trickier to pick the main module header for than
library source files. I've started to follow the pattern of using
LLVMContext.h when it is included as a stub for program source files.
llvm-svn: 169252
2012-12-04 10:44:52 +00:00
Chandler Carruth
91d19d8e93
Sort the #include lines for utils/...
...
I've tried to find main moudle headers where possible, but the TableGen
stuff may warrant someone else looking at it.
llvm-svn: 169251
2012-12-04 10:37:14 +00:00
Chandler Carruth
130cec21b9
Sort the #include lines for unittest/...
...
llvm-svn: 169250
2012-12-04 10:23:08 +00:00
Chandler Carruth
605e30e93c
Sort the #include lines of the examples/... tree.
...
llvm-svn: 169249
2012-12-04 10:16:57 +00:00
Chandler Carruth
c5c675d203
Teach the include sorter to quickly skip files with an extension that
...
doesn't look like it will have C++ code in it.
Suggestions on a better heuristic are welcome.
llvm-svn: 169248
2012-12-04 10:08:59 +00:00
Chandler Carruth
2aa2a9bf2b
Teach the include sorter to skip files under test trees and under INPUTS
...
trees. This allows running the input sorter on the entire clang
repository cleanly now.
llvm-svn: 169247
2012-12-04 09:59:54 +00:00
Chandler Carruth
59ff16cf74
Sort the #include lines under utils/...
...
llvm-svn: 169245
2012-12-04 09:53:39 +00:00
Chandler Carruth
fa0b3bb7ec
Really sort the #include lines in unittests/...
...
I forgot to re-sort after fixing main module headers.
llvm-svn: 169244
2012-12-04 09:53:37 +00:00
Chandler Carruth
320d9666ee
Sort the #include lines for unittests/...
...
I've tried to place sensible headers at the top as main-module headers.
llvm-svn: 169243
2012-12-04 09:45:34 +00:00
Chandler Carruth
ed09f456e7
Teach the include sorting script about the gtest headers; sort them with
...
the system headers.
llvm-svn: 169242
2012-12-04 09:44:38 +00:00
Chandler Carruth
8675b4af77
Sort the #include lines for examples/...
...
llvm-svn: 169241
2012-12-04 09:37:22 +00:00
Chandler Carruth
cc0694c8a4
Sort #include lines for tools/...
...
Completely automated with sort_includes.py
llvm-svn: 169240
2012-12-04 09:25:21 +00:00
Chandler Carruth
9b1773b517
Update the #include lines of the extra tools.
...
llvm-svn: 169239
2012-12-04 09:21:50 +00:00
Chandler Carruth
6229d9a350
Sort #include lines for all files under include/...
...
This is a simpler sort, entirely automatic with the help of
llvm/utils/sort_includes.py -- no manual edits here.
llvm-svn: 169238
2012-12-04 09:18:49 +00:00
Chandler Carruth
3a02247dc9
Sort all of Clang's files under 'lib', and fix up the broken headers
...
uncovered.
This required manually correcting all of the incorrect main-module
headers I could find, and running the new llvm/utils/sort_includes.py
script over the files.
I also manually added quite a few missing headers that were uncovered by
shuffling the order or moving headers up to be main-module-headers.
llvm-svn: 169237
2012-12-04 09:13:33 +00:00
NAKAMURA Takumi
1f58e8e194
ASTTests, ASTMatchersTests: Move clangEdit before clangAst in USEDLIB.
...
llvm-svn: 169236
2012-12-04 08:20:41 +00:00
NAKAMURA Takumi
b25f3f7dcb
Untabify (in USEDLIBS, Makefile(s)).
...
llvm-svn: 169235
2012-12-04 08:20:35 +00:00
Kostya Serebryany
077f88045e
[tsan] refactoring and comment changes in sanitizer_common/sanitizer_allocator{,64}.h. No functionality change
...
llvm-svn: 169234
2012-12-04 07:54:41 +00:00
NAKAMURA Takumi
0e0c3aa560
clang/Lex: [CMake] Update CMakefiles since r169229.
...
llvm-svn: 169233
2012-12-04 07:40:33 +00:00
Bill Wendling
6246013f7a
Don't test for ASM output but for IR output.
...
llvm-svn: 169232
2012-12-04 07:33:40 +00:00
Dmitry Vyukov
0d677279f6
tsan: better error message if we fail to intercept some function
...
currently the message is SIGSEGV
llvm-svn: 169231
2012-12-04 07:28:25 +00:00
Dmitry Vyukov
d229abe49a
tsan: check if PWD env var is absent
...
On some programs I see:
failed to open suppressions file '<null>/testing/tsan/v2/tsan.supp'
llvm-svn: 169230
2012-12-04 07:27:32 +00:00