- Aug 24, 2012
-
-
NAKAMURA Takumi authored
llvm-svn: 162550
-
Chandler Carruth authored
MSVC doesn't support passing by-value parameters with alignment of 16-bytes or higher apparantly. What is deeply confusing is that it seems to *sometimes* (but not always) apply this to any type whose alignment is set using __declspec(align(...)). This caused lots of errors when we switch SmallVector over to use the automatically aligned character array utilities as they used __declspec(align(...)) heavily. As a pretty horrible but effective work-around, we instead cherry pick the smallest alignment sizes with specific types that happen to have the correct alignment, and then fall back to the attribute solution past them. This should resolve the MSVC build errors folks have been hitting. Sorry for that. In good news, it will do this without introducing other UB I hope. =] Thanks to Timur Iskhodzhanov for helping me test this! llvm-svn: 162549
-
Alexander Potapenko authored
Remove a spare newline from asan_rtl.cc llvm-svn: 162548
-
Alexander Potapenko authored
(which, in turn, is required for our interceptors to take effect), re-exec the program with DYLD_INSERT_LIBRARIES set. llvm-svn: 162547
-
Alexander Potapenko authored
Add add_clang_runtime_shared_library() CMake function and use it to put the shared ASan runtime in the appropriate place. llvm-svn: 162546
-
Ted Kremenek authored
Fixes <rdar://problem/11005770>. llvm-svn: 162545
-
James Dennett authored
isWritten() returns false, if shouldVisitImplicitCode() returns true. Previously those CXXCtorInitializers were always skipped. In order to make this change easier to test, this patch also extends the test class template ExpectedLocationVisitor to support arbitrary numbers of expected matches and disallowed matches. llvm-svn: 162544
-
Ted Kremenek authored
They are labeled as not being enabled-by-default, and how else are users going to test them. Fixes <rdar://problem/11654923> llvm-svn: 162543
-
Greg Clayton authored
llvm-svn: 162542
-
Daniel Jasper authored
databases. Move JSONCompilationDatabase.h to its own files and register it as plugin. llvm-svn: 162541
-
Greg Clayton authored
llvm-svn: 162540
-
Daniel Jasper authored
llvm-svn: 162539
-
Daniel Jasper authored
ASTMatchers have the same name as the corresponding AST nodes but are lower case. The only exceptions are the "CXX" prefixes which are not copied over to the matcher names as the goal is to actually remove these prefixes from the AST node names. llvm-svn: 162536
-
Ted Kremenek authored
no clang can be found relative to the location of scan-build. Fixes <rdar://problem/11691794> llvm-svn: 162535
-
Craig Topper authored
llvm-svn: 162534
-
Anna Zaks authored
When reallocation of a non-allocated (not owned) symbol fails do not expect it to be freed. llvm-svn: 162533
-
Greg Clayton authored
llvm-svn: 162532
-
Enrico Granata authored
llvm-svn: 162531
-
Greg Clayton authored
Added Args::StringForEncoding(), Args::StringToGenericRegister() and centralized the parsing of the string to encoding and string to generic register. Added code the initialize the register context in the OperatingSystemPython plug-in with the new PythonData classes, and added a test OperatingSystemPython module in lldb/examples/python/operating_system.py that we can use for testing. llvm-svn: 162530
-
Anna Zaks authored
This code has been added a while ago and removing it does not trigger any test failures. The false positives it was trying to suppress are probably handled by other logic (ex: special handling of delegates). llvm-svn: 162529
-
Anna Zaks authored
(I am not sure if we should move the setters and getters as well and make them into static methods..) llvm-svn: 162528
-
Enrico Granata authored
llvm-svn: 162527
-
Eric Christopher authored
not in darwin gdb compat mode. Fixes rdar://10975088 llvm-svn: 162526
-
Eric Christopher authored
TODO: Fix code duplication and coding style. llvm-svn: 162525
-
Eric Christopher authored
llvm-svn: 162524
-
Richard Smith authored
* when checking that a pointer or reference refers to appropriate storage for a type, also check the alignment and perform a null check * check that references are bound to appropriate storage * check that 'this' has appropriate storage in member accesses and member function calls llvm-svn: 162523
-
Enrico Granata authored
Hooking up two more calls for the PythonOSPlugin stuff. The part of code to fetch the data and convert it to C++ objects is still missing, but will come llvm-svn: 162522
-
Alexander Kornienko authored
llvm-svn: 162521
-
Richard Smith authored
llvm-svn: 162520
-
Enrico Granata authored
llvm-svn: 162519
-
Richard Smith authored
llvm-svn: 162518
-
Jakob Stoklund Olesen authored
They were inserted to silence TableGen's warning about redundant properties. That warning is now gone. llvm-svn: 162517
-
Jakob Stoklund Olesen authored
Emit TableGen errors if guessInstructionProperties is 0 and instruction properties can't be inferred from patterns. Allow explicit instruction properties even when they can be inferred. This patch doesn't change the TableGen output. Redundant properties are not yet verified because the tree has errors. llvm-svn: 162516
-
Jakob Stoklund Olesen authored
llvm-svn: 162515
-
Jakob Stoklund Olesen authored
llvm-svn: 162514
-
Enrico Granata authored
llvm-svn: 162513
-
Dmitri Gribenko authored
llvm-svn: 162512
-
Dmitri Gribenko authored
llvm-svn: 162511
-
Johnny Chen authored
llvm-svn: 162510
-
Chad Rosier authored
generate the Input/Output expressions using Sema::ActOnIdExpression(). llvm-svn: 162509
-