David Blaikie [Wed, 30 Jan 2013 02:56:02 +0000 (02:56 +0000)]
Remove unused variable (introduced in r173884) to clear clang -Werror build
llvm-svn: 173887
Jack Carter [Wed, 30 Jan 2013 02:32:36 +0000 (02:32 +0000)]
Forgot to add new file to CMakeLists
llvm-svn: 173886
Jack Carter [Wed, 30 Jan 2013 02:24:33 +0000 (02:24 +0000)]
This patch implements runtime ARM specific
setting of ELF header e_flags.
Contributer: Jack Carter
llvm-svn: 173885
Jack Carter [Wed, 30 Jan 2013 02:16:36 +0000 (02:16 +0000)]
This patch implements runtime Mips specific
setting of ELF header e_flags.
Contributer: Jack Carter
llvm-svn: 173884
Douglas Gregor [Wed, 30 Jan 2013 02:10:08 +0000 (02:10 +0000)]
Unresolved lookups can have using declarations that refer to
unresolved using declarations. Fixes PR14768 / <rdar://problem/
13030296>.
llvm-svn: 173883
Jack Carter [Wed, 30 Jan 2013 02:09:52 +0000 (02:09 +0000)]
This patch reworks how llvm targets set
and update ELF header e_flags.
Currently gathering information such as symbol,
section and data is done by collecting it in an
MCAssembler object. From MCAssembler and MCAsmLayout
objects ELFObjectWriter::WriteObject() forms and
streams out the ELF object file.
This patch just adds a few members to the MCAssember
class to store and access the e_flag settings. It
allows for runtime additions to the e_flag by
assembler directives. The standalone assembler can
get to MCAssembler from getParser().getStreamer().getAssembler().
This patch is the generic infrastructure and will be
followed by patches for ARM and Mips for their target
specific use.
Contributer: Jack Carter
llvm-svn: 173882
Jordan Rose [Wed, 30 Jan 2013 01:52:57 +0000 (01:52 +0000)]
Don't warn about Unicode characters in -E mode.
People use the C preprocessor for things other than C files. Some of them
have Unicode characters. We shouldn't warn about Unicode characters
appearing outside of identifiers in this case.
There's not currently a way for the preprocessor to tell if it's in -E mode,
so I added a new flag, derived from the PreprocessorOutputOptions. This is
only used by the Unicode warnings for now, but could conceivably be used by
other warnings or even behavioral differences later.
<rdar://problem/
13107323>
llvm-svn: 173881
David Blaikie [Wed, 30 Jan 2013 01:43:36 +0000 (01:43 +0000)]
[Sema] Constrain test added in r173873 with expected-error-re
Suggested in post-commit review by Richard Smith.
llvm-svn: 173880
NAKAMURA Takumi [Wed, 30 Jan 2013 01:38:03 +0000 (01:38 +0000)]
[autoconf]: Fix description in HAVE_CRASHREPORTER_INFO.
http://llvm-reviews.chandlerc.com/D332
Signed-off-by: Saleem Abdulrasool <compnerd@compnerd.org>
llvm-svn: 173879
NAKAMURA Takumi [Wed, 30 Jan 2013 01:37:55 +0000 (01:37 +0000)]
[autoconf] Fix m4 quoting for newer autotools
This simply fixes up quoting of macro invocations to appease newer versions of autotools.
http://llvm-reviews.chandlerc.com/D332
Signed-off-by: Saleem Abdulrasool <compnerd@compnerd.org>
llvm-svn: 173878
NAKAMURA Takumi [Wed, 30 Jan 2013 01:37:49 +0000 (01:37 +0000)]
[autoconf] Fix 80+ and quoting.
Additional quoting for safety and satisfying newer autotools. Fix a couple of 80 column violations.
http://llvm-reviews.chandlerc.com/D333
Signed-off-by: Saleem Abdulrasool <compnerd@compnerd.org>
llvm-svn: 173877
Michael J. Spencer [Wed, 30 Jan 2013 01:25:06 +0000 (01:25 +0000)]
[ELF] Make AtomLayout more accessible.
This is needed to allow constant time access to the final layout of atoms.
llvm-svn: 173874
David Blaikie [Wed, 30 Jan 2013 01:22:18 +0000 (01:22 +0000)]
Provide a fixit for constexpr non-static data members.
If the member has an initializer, assume it was probably intended to be static
and suggest/recover with that.
If the member doesn't have an initializer, assume it was probably intended to
be const instead of constexpr and suggest that.
(if the attempt to apply these changes fails, don't make any suggestion &
produce the same diagnostic experience as before. The only case where this can
come up that I know of is with a mutable constexpr with an initializer, since
mutable is incompatible with static (but it's already incompatible with
const anyway))
llvm-svn: 173873
Fariborz Jahanian [Wed, 30 Jan 2013 01:12:44 +0000 (01:12 +0000)]
c: When checking on validity of sizeof passed as size of
argument to be memset, check for its type to be complete
before calling Context.getTypeSize(PointeeTy) to prevent
crash. // rdar://
13081751.
llvm-svn: 173872
Daniel Dunbar [Wed, 30 Jan 2013 01:06:03 +0000 (01:06 +0000)]
[Frontend] Factor AddUnmappedPath() out of AddPath() and simplify.
llvm-svn: 173871
Daniel Malea [Wed, 30 Jan 2013 01:01:11 +0000 (01:01 +0000)]
Fix build problems with libstdc++ 4.6/4.7
- remove nullptr from initialization of shared_ptrs
llvm-svn: 173870
Filipe Cabecinhas [Wed, 30 Jan 2013 00:48:11 +0000 (00:48 +0000)]
Use printf instead of echo -n (the latter won't work on OS X's /bin/sh)
llvm-svn: 173867
Daniel Dunbar [Wed, 30 Jan 2013 00:34:26 +0000 (00:34 +0000)]
[Frontend] Remove HeaderSearchOptions::Entry::IsInternal, which is unused.
llvm-svn: 173866
Greg Clayton [Wed, 30 Jan 2013 00:29:53 +0000 (00:29 +0000)]
Remove debug code and commented out code that was left in.
llvm-svn: 173865
Filipe Cabecinhas [Wed, 30 Jan 2013 00:28:58 +0000 (00:28 +0000)]
Continuing the fix for the r173732 fix. Now lldb gets built with Makefiles (Darwin).
llvm-svn: 173864
Akira Hatanaka [Wed, 30 Jan 2013 00:28:15 +0000 (00:28 +0000)]
[mips] Test case for r173862.
Patch by Sasa Stankovic.
llvm-svn: 173863
Akira Hatanaka [Wed, 30 Jan 2013 00:26:49 +0000 (00:26 +0000)]
[mips] Lower EH_RETURN.
Patch by Sasa Stankovic.
llvm-svn: 173862
NAKAMURA Takumi [Wed, 30 Jan 2013 00:21:41 +0000 (00:21 +0000)]
clang/test/Driver/asan-ld.c: Try not to mismatch temporary file, like "tmpkcfdld".
If we had the regular expression "\b" in FileCheck like Perl...
llvm-svn: 173861
Daniel Dunbar [Wed, 30 Jan 2013 00:20:43 +0000 (00:20 +0000)]
[Frontend] Remove actual ImplicitExternC member variable.
llvm-svn: 173860
Daniel Dunbar [Wed, 30 Jan 2013 00:19:24 +0000 (00:19 +0000)]
[Frontend] Add an ExternCSystem include entry group.
- The only group where it makes sense for the "ExternC" bit is System, so this
simplifies having to have the extra isCXXAware (or ImplicitExternC, depending
on what code you talk to) bit caried around.
llvm-svn: 173859
Greg Clayton [Wed, 30 Jan 2013 00:18:29 +0000 (00:18 +0000)]
<rdar://problem/9141269>
Cleaned up the objective C name parsing code to use a class.
Now breakpoints that are set by name that are objective C methods without the leading '+' or '-' will resolve. We do this by expanding all the objective C names for a given string. For example:
(lldb) b [MyString cStringUsingEncoding:]
Will set a breakpoint with multiple possible names:
-[MyString cStringUsingEncoding:]
+[MyString cStringUsingEncoding:]
Also if you have a category, it will strip the category and set a breakpoint in all variants:
(lldb) [MyString(my_category) cStringUsingEncoding:]
Will resolve to the following names:
-[MyString(my_category) cStringUsingEncoding:]
+[MyString(my_category) cStringUsingEncoding:]
-[MyString cStringUsingEncoding:]
+[MyString cStringUsingEncoding:]
Likewise when we have:
(lldb) b -[MyString(my_category) cStringUsingEncoding:]
It will resolve to two names:
-[MyString(my_category) cStringUsingEncoding:]
-[MyString cStringUsingEncoding:]
llvm-svn: 173858
Daniel Dunbar [Wed, 30 Jan 2013 00:12:24 +0000 (00:12 +0000)]
[lit] Add some TODO notes to myself.
llvm-svn: 173857
Fariborz Jahanian [Wed, 30 Jan 2013 00:10:09 +0000 (00:10 +0000)]
Removed couple of html named character references in
my last patch.
llvm-svn: 173856
Daniel Dunbar [Tue, 29 Jan 2013 23:59:45 +0000 (23:59 +0000)]
[Frontend] Make the include dir group independent from the "use sysroot" bit.
- This slightly decouples the path handling, since before the group sometimes
dominated the "use sysroot" bit, but it was still passed in via the API.
- No functionality change.
llvm-svn: 173855
Daniel Dunbar [Tue, 29 Jan 2013 23:59:43 +0000 (23:59 +0000)]
[Frontend] Rename a member variable to clarify its intent.
llvm-svn: 173854
Daniel Dunbar [Tue, 29 Jan 2013 23:59:37 +0000 (23:59 +0000)]
[Frontend] Factor out helper function, for clarity.
llvm-svn: 173853
Chad Rosier [Tue, 29 Jan 2013 23:57:10 +0000 (23:57 +0000)]
[driver] Clear the FailureResultFiles when initializing clang diagnostics. Also,
minor cleanup.
llvm-svn: 173852
Fariborz Jahanian [Tue, 29 Jan 2013 23:42:26 +0000 (23:42 +0000)]
[Doc parsing] Patch to parse Doxygen-supported HTML character
references to their UTIF-8 encoding. Reviewed offline by Doug.
// rdar://
12392215
llvm-svn: 173850
Renato Golin [Tue, 29 Jan 2013 23:31:38 +0000 (23:31 +0000)]
Adding simple cast cost to ARM
Changing ARMBaseTargetMachine to return ARMTargetLowering intead of
the generic one (similar to x86 code).
Tests showing which instructions were added to cast when necessary
or cost zero when not. Downcast to 16 bits are not lowered in NEON,
so costs are not there yet.
llvm-svn: 173849
Chad Rosier [Tue, 29 Jan 2013 23:31:22 +0000 (23:31 +0000)]
[ubsan] Implement the -fcatch-undefined-behavior flag using a trapping
implementation; this is much more inline with the original implementation
(i.e., pre-ubsan) and does not require run-time library support.
The trapping implementation can be invoked using either '-fcatch-undefined-behavior'
or '-fsanitize=undefined-trap -fsanitize-undefined-trap-on-error', with the latter
being preferred. Eventually, the -fcatch-undefined-behavior' flag will be removed.
llvm-svn: 173848
Dmitri Gribenko [Tue, 29 Jan 2013 23:27:45 +0000 (23:27 +0000)]
Remove unused variable (unused since r173839)
llvm-svn: 173847
Dmitri Gribenko [Tue, 29 Jan 2013 23:14:41 +0000 (23:14 +0000)]
Documentation: add empty lines so that lists are properly recognized
llvm-svn: 173845
NAKAMURA Takumi [Tue, 29 Jan 2013 23:03:22 +0000 (23:03 +0000)]
clang/test/Index/getcursor-preamble.m: Formatting.
llvm-svn: 173844
NAKAMURA Takumi [Tue, 29 Jan 2013 23:03:16 +0000 (23:03 +0000)]
clang/test/Index/getcursor-preamble.m: Tweak for win32. env(1) is required to change variables locally.
llvm-svn: 173843
Michael Gottesman [Tue, 29 Jan 2013 22:29:59 +0000 (22:29 +0000)]
Made certain small functions in PtrState inlined.
llvm-svn: 173842
David Blaikie [Tue, 29 Jan 2013 22:26:08 +0000 (22:26 +0000)]
Move -Wstatic-float-init fixit into a note & don't recover as if constexpr
llvm-svn: 173841
Filipe Cabecinhas [Tue, 29 Jan 2013 22:20:20 +0000 (22:20 +0000)]
Actually build DataFormatters dir. Fix for the r173732 fix.
llvm-svn: 173840
Michael J. Spencer [Tue, 29 Jan 2013 22:10:07 +0000 (22:10 +0000)]
[MC][COFF] Delay handling symbol aliases when writing
Fixes PR14447 and PR9034. Patch by Nico Rieck!
llvm-svn: 173839
Michael J. Spencer [Tue, 29 Jan 2013 22:03:39 +0000 (22:03 +0000)]
[ELF] Chop the ELF prefix off of most things.
llvm-svn: 173838
Pekka Jaaskelainen [Tue, 29 Jan 2013 21:42:08 +0000 (21:42 +0000)]
LoopVectorize: convert TinyTripCountVectorThreshold constant
to a command line switch.
llvm-svn: 173837
Michael Gottesman [Tue, 29 Jan 2013 21:41:44 +0000 (21:41 +0000)]
Removed trailing comma in last element of enum declaration.
llvm-svn: 173836
David Blaikie [Tue, 29 Jan 2013 21:40:37 +0000 (21:40 +0000)]
Don't fixit/recover from -Wstatic-float-init when it's not an error.
Fix to change r173414 that lead to Clang changing const to constexpr even under
-Wno-static-float-init.
llvm-svn: 173835
Michael Gottesman [Tue, 29 Jan 2013 21:39:02 +0000 (21:39 +0000)]
Moved S_Stop back to its previous position in the sequence order.
llvm-svn: 173834
Weiming Zhao [Tue, 29 Jan 2013 21:18:43 +0000 (21:18 +0000)]
Add a special handling case for untyped CopyFromReg node in GetCostForDef() of ScheduleDAGRRList
llvm-svn: 173833
Michael Gottesman [Tue, 29 Jan 2013 21:07:53 +0000 (21:07 +0000)]
Fixed a few debug messages and some 80+ violations.
llvm-svn: 173832
Michael Gottesman [Tue, 29 Jan 2013 21:07:51 +0000 (21:07 +0000)]
Added some periods to some comments and added an overload for operator<< for type Sequence so I can print out Sequences in debug statements.
llvm-svn: 173831
Daniel Jasper [Tue, 29 Jan 2013 21:01:14 +0000 (21:01 +0000)]
Move the token annotator into separate files.
No functional changes. Also removed experimental-warning from all of
clang-format's files, as it is no longer accurate.
llvm-svn: 173830
Michael Gottesman [Tue, 29 Jan 2013 21:00:52 +0000 (21:00 +0000)]
Changed DoesObjCBlockEscape => DoesRetainableObjPtrEscape so I can use it to perform escape analysis of other retainable object pointers in other locations.
llvm-svn: 173829
Bill Wendling [Tue, 29 Jan 2013 20:45:34 +0000 (20:45 +0000)]
Add a couple of accessor methods to get the kind and values of an attribute.
llvm-svn: 173828
Bill Wendling [Tue, 29 Jan 2013 20:37:10 +0000 (20:37 +0000)]
s/Data/Kind/g. No functionality change.
llvm-svn: 173827
Argyrios Kyrtzidis [Tue, 29 Jan 2013 20:28:24 +0000 (20:28 +0000)]
[Preprocessor] When checking if we can concatenate two tokens, check
if they were already concatenated in source using the spelling locations
even if they came from a macro expansion.
This fixes an issue where a GUID passed as macro argument ends up
malformed after preprocessing because we added spaces inside it.
rdar://
13016645
llvm-svn: 173826
Chad Rosier [Tue, 29 Jan 2013 20:15:05 +0000 (20:15 +0000)]
[driver] Refactor the driver so that a failing commands doesn't prevent
subsequent commands from being executed.
The diagnostics generation isn't designed for this use case, so add a note to
fix this in the very near future. For now, just generated the diagnostics for
the first failing command.
Part of rdar://
12984531
llvm-svn: 173825
Shankar Easwaran [Tue, 29 Jan 2013 20:13:16 +0000 (20:13 +0000)]
remove targetInfo and layout from ELFTargetLayout
llvm-svn: 173824
Greg Clayton [Tue, 29 Jan 2013 20:03:58 +0000 (20:03 +0000)]
<rdar://problem/
13107904>
wchar_t causes problem with certain compilers. Removing it for now.
llvm-svn: 173823
Michael J. Spencer [Tue, 29 Jan 2013 19:53:41 +0000 (19:53 +0000)]
[ELF] Fix header sort order.
llvm-svn: 173822
Daniel Jasper [Tue, 29 Jan 2013 19:41:55 +0000 (19:41 +0000)]
Improve formatting of code with comments.
Before:
aaaaaaa(aaaaaa( // comment
aaaaaaa));
<big mess>
After:
aaaaaaa(aaaaaa( // comment
aaaaaaaa));
function(/* parameter 1 */ aaaaaaa,
/* parameter 2 */ aaaaaaa,
/* parameter 3 */ aaaaaaa,
/* parameter 4 */ aaaaaaa);
(the latter example was only wrong in the one-arg-per-line mode, e.g. in
Google style).
llvm-svn: 173821
David Blaikie [Tue, 29 Jan 2013 19:35:24 +0000 (19:35 +0000)]
Support artificial parameters in function types.
Provides the functionality for Clang change r172911 - I just had this still
lying around.
llvm-svn: 173820
Jyotsna Verma [Tue, 29 Jan 2013 18:42:41 +0000 (18:42 +0000)]
Use multiclass for post-increment store instructions.
llvm-svn: 173816
Will Dietz [Tue, 29 Jan 2013 18:29:34 +0000 (18:29 +0000)]
[tsan] Fix checks for siginfo_t in tests
llvm-svn: 173815
Jyotsna Verma [Tue, 29 Jan 2013 18:18:50 +0000 (18:18 +0000)]
Add constant extender support for MInst type instructions.
llvm-svn: 173813
Evan Cheng [Tue, 29 Jan 2013 18:08:22 +0000 (18:08 +0000)]
Remove dead code.
llvm-svn: 173812
Argyrios Kyrtzidis [Tue, 29 Jan 2013 18:00:54 +0000 (18:00 +0000)]
Mark a struct definition in an objc container with the TopLevelDeclInObjCContainer bit.
Fixes accurately getting a cursor inside an objc container containing a struct definition,
from a PCH/preamble file.
rdar://
12584613
llvm-svn: 173811
Edwin Vane [Tue, 29 Jan 2013 17:42:24 +0000 (17:42 +0000)]
Fixing warnings revealed by gcc release build
Fixed set-but-not-used warnings.
Reviewer: gribozavr
llvm-svn: 173810
Benjamin Kramer [Tue, 29 Jan 2013 17:31:33 +0000 (17:31 +0000)]
LoopVectorize: Clean up ValueMap a bit and avoid double lookups.
No intended functionality change.
llvm-svn: 173809
Michael J. Spencer [Tue, 29 Jan 2013 16:38:03 +0000 (16:38 +0000)]
[ELF] Add support for IFUNC.
This sadly doesn't have a test for the final
output because llvm-objdump can't dump relocations
that don't belong to a section :(
llvm-svn: 173808
NAKAMURA Takumi [Tue, 29 Jan 2013 16:31:56 +0000 (16:31 +0000)]
R600/AMDILPeepholeOptimizer.cpp: Tweak std::make_pair to satisfy C++11.
llvm-svn: 173807
Daniel Jasper [Tue, 29 Jan 2013 16:03:49 +0000 (16:03 +0000)]
Allow all parameters on next line for function calls in Chrome.
The style guide only forbids this for function declarations. So,
now
someFunction(
aaaaaaaaaaaaaaaaaaaa,
aaaaaaaaaaaaaaaaa,
aaaaaaaaaaaa);
Is allowed in Chromium mode.
llvm-svn: 173806
Daniel Jasper [Tue, 29 Jan 2013 15:19:38 +0000 (15:19 +0000)]
Split ">>" in "A<B<C> >" in Chromium style.
It needs to be compatible with C++03.
llvm-svn: 173805
NAKAMURA Takumi [Tue, 29 Jan 2013 15:18:16 +0000 (15:18 +0000)]
AttributeSet::get(): Fix a valgrind error. It doesn't affect actual behavior, though.
Don't touch I->first on the end iterator, I == E!
llvm-svn: 173804
Daniel Jasper [Tue, 29 Jan 2013 15:15:59 +0000 (15:15 +0000)]
Fix uninitialized error caused by r173801.
llvm-svn: 173803
Joey Gouly [Tue, 29 Jan 2013 15:09:40 +0000 (15:09 +0000)]
Fix a crash in OpenCL code by using the proper (RHS) bit-width.
llvm-svn: 173802
Daniel Jasper [Tue, 29 Jan 2013 15:03:01 +0000 (15:03 +0000)]
Calculate the split penalty upfront.
This is
a) More efficient.
b) Important as we move forward with further metrics for penalty.
No functional changes intended.
llvm-svn: 173801
Evgeniy Stepanov [Tue, 29 Jan 2013 14:33:29 +0000 (14:33 +0000)]
[msan] Cleanup public interface header.
Moved everything users are not supposed to use to a private interface header.
Documented all public interfaces. Made them safe to use even if built without
MemorySanitizer.
llvm-svn: 173800
Dmitry Vyukov [Tue, 29 Jan 2013 14:20:12 +0000 (14:20 +0000)]
tsan: dump stack on internal assert failure
llvm-svn: 173799
Hans Wennborg [Tue, 29 Jan 2013 14:05:57 +0000 (14:05 +0000)]
Fix typo in X86BaseInfo.h that I introduced in r157818.
llvm-svn: 173798
Dmitry Vyukov [Tue, 29 Jan 2013 13:05:30 +0000 (13:05 +0000)]
tsan: support for inprocess symbolizer
llvm-svn: 173797
Dmitry Vyukov [Tue, 29 Jan 2013 13:03:07 +0000 (13:03 +0000)]
tsan: remember when we are inside of symbolizer code (required for inprocess symbolizer)
llvm-svn: 173796
Alexey Samsonov [Tue, 29 Jan 2013 12:08:12 +0000 (12:08 +0000)]
ASan: fix lint
llvm-svn: 173795
Evgeniy Stepanov [Tue, 29 Jan 2013 11:46:06 +0000 (11:46 +0000)]
[sanitizer] Copy sanitizer headers to the build tree.
llvm-svn: 173794
Daniel Jasper [Tue, 29 Jan 2013 11:27:30 +0000 (11:27 +0000)]
Fix a comment and reformat clang-format with clang-format
Not all changes might be ideal, but IMO all are acceptable.
llvm-svn: 173793
Daniel Jasper [Tue, 29 Jan 2013 11:21:01 +0000 (11:21 +0000)]
Initial support for multiple variable declarations.
Before:
SomeType
aaaaaaaaaaaaaaaaa = aaaaaa->
aaaaaaaaaaaaaaaaa(),
aaaaaaaaaaa = aaaaaa->
aaaaaaaaaaa();
After:
SomeType
aaaaaaaaaaaaaaaaa = aaaaaa->
aaaaaaaaaaaaaaaaa(),
aaaaaaaaaaa = aaaaaa->
aaaaaaaaaaa();
llvm-svn: 173792
Joey Gouly [Tue, 29 Jan 2013 10:54:06 +0000 (10:54 +0000)]
Add a diagnostic for an OpenCL kernel with a pointer pointer argument.
Also refactor the surrounding code a little.
llvm-svn: 173791
Richard Smith [Tue, 29 Jan 2013 10:18:33 +0000 (10:18 +0000)]
Test update missed in r173789.
llvm-svn: 173790
Richard Smith [Tue, 29 Jan 2013 10:18:18 +0000 (10:18 +0000)]
Produce a diagnostic if alignas is applied to an expression. Neither C11 nor
C++11 allows that.
llvm-svn: 173789
Richard Smith [Tue, 29 Jan 2013 10:02:16 +0000 (10:02 +0000)]
Downgrade 'attribute ignored when parsing type' from error to warning, to match
the diagnostic's warn_ name. Switch some places (notably C++11 attributes)
which really wanted an error over to a different diagnostic. Finally, suppress
the diagnostic entirely for __ptr32, __ptr64 and __w64, to avoid producing
diagnostics in important system headers.
llvm-svn: 173788
Daniel Jasper [Tue, 29 Jan 2013 10:00:16 +0000 (10:00 +0000)]
Reverting changes from r173785 (removing empty lines before "}").
This needs some more thinking, e.g. for namespaces, chains of if-else
if, ...
llvm-svn: 173787
Dmitry Vyukov [Tue, 29 Jan 2013 09:59:53 +0000 (09:59 +0000)]
asan: fix the test
llvm-svn: 173786
Daniel Jasper [Tue, 29 Jan 2013 09:42:11 +0000 (09:42 +0000)]
Remove empty lines before "}".
Those empty lines waste vertical whitespace and almost never
increase readability.
Before:
void f() {
DoSomething();
}
After:
void f() {
DoSomething();
}
llvm-svn: 173785
Dmitry Vyukov [Tue, 29 Jan 2013 09:39:58 +0000 (09:39 +0000)]
tsan: fix the message (tsan is not asan)
llvm-svn: 173784
Dmitry Vyukov [Tue, 29 Jan 2013 09:35:14 +0000 (09:35 +0000)]
tsan: add IsSymbolizerAvailable() function for querying for presence of internal/external symbolizer
llvm-svn: 173783
Dmitry Vyukov [Tue, 29 Jan 2013 09:23:09 +0000 (09:23 +0000)]
tsan: add interceptor stubs for stat family of functions
llvm-svn: 173782
Timur Iskhodzhanov [Tue, 29 Jan 2013 09:09:27 +0000 (09:09 +0000)]
Hopefully fix the Windows build failure introduced in r173769
llvm-svn: 173781
Tim Northover [Tue, 29 Jan 2013 09:06:13 +0000 (09:06 +0000)]
Fix 64-bit atomic operations in Thumb mode.
The ARM and Thumb variants of LDREXD and STREXD have different constraints and
take different operands. Previously the code expanding atomic operations didn't
take this into account and asserted in Thumb mode.
llvm-svn: 173780
Richard Smith [Tue, 29 Jan 2013 09:02:09 +0000 (09:02 +0000)]
Implement C++11 [dcl.align]p1 and C11 6.7.5/2 rules for alignas and _Alignas.
llvm-svn: 173779
Alexey Samsonov [Tue, 29 Jan 2013 08:19:11 +0000 (08:19 +0000)]
[ASan] fix deallocation hook in allocator2: according to specification, dealloc hook should be called before deallocating memory
llvm-svn: 173778