- Nov 06, 2012
-
-
Dmitry Vyukov authored
llvm-svn: 167462
-
Alexey Samsonov authored
Follow-up for r167411 to un-break ASan on Mac. Move SanitizerArgs to a header file and use it on Darwin toolchain. llvm-svn: 167460
-
Alexey Samsonov authored
llvm-svn: 167459
-
Dmitry Vyukov authored
llvm-svn: 167458
-
Dmitry Vyukov authored
llvm-svn: 167457
-
Dmitry Vyukov authored
llvm-svn: 167456
-
Dmitry Vyukov authored
llvm-svn: 167455
-
Dmitry Vyukov authored
llvm-svn: 167454
-
Dmitry Vyukov authored
llvm-svn: 167453
-
Dmitry Vyukov authored
llvm-svn: 167452
-
Dmitry Vyukov authored
llvm-svn: 167451
-
Dmitry Vyukov authored
llvm-svn: 167450
-
Dmitry Vyukov authored
llvm-svn: 167449
-
Dmitry Vyukov authored
The file uses namespaces and extern "LANG", so it's kinda senseless to use #ifdef __cplusplus llvm-svn: 167448
-
Dmitry Vyukov authored
__declspec is not _WIN32, it's _MSC_VER llvm-svn: 167447
-
Dmitry Vyukov authored
llvm-svn: 167446
-
Michael Liao authored
llvm-svn: 167445
-
Andrew Trick authored
Expose the processor resources defined by the machine model to the scheduler and other clients through the TargetSchedule interface. Normalize each resource count with respect to other kinds of resources. This allows scheduling heuristics to balance resources against other kinds of resources and latency. llvm-svn: 167444
-
Andrew Trick authored
llvm-svn: 167443
-
Ted Kremenek authored
Thanks to Richard Smith for pointing this out. This code stopped serving its purpose during r103212 in a refactoring. My initial fix was to add back the logic to abort the USR generation for InternalLinkage, but enough tests broke suspiciously that I fear that USR generation for cursors with InternalLinkage is now expected by some clients (where it wasn't the case when the refactoring took place). I don't own this code anymore and have not looked at it for some time, but clearly this code is dead and can be removed pending further review on the proper logic here. llvm-svn: 167442
-
Nico Weber authored
llvm-svn: 167441
-
Manman Ren authored
disabling byval, we set realign to true. It will perform an aligned alloca, and call memcpy to copy the byval argument to the local variable. Change the size threshold back to 64 bytes. rdar://12596507 llvm-svn: 167440
-
Anna Zaks authored
llvm-svn: 167439
-
Anna Zaks authored
Thanks Jordan. llvm-svn: 167438
-
Eli Friedman authored
llvm-svn: 167437
-
Eli Friedman authored
refactor the code. llvm-svn: 167436
-
Andrew Trick authored
This is in preparation for adding "weak" DAG edges, but generally simplifies the design. llvm-svn: 167435
-
Richard Smith authored
llvm-svn: 167434
-
Richard Smith authored
Classify the INT_MIN/-1 check as -fsanitize=signed-integer-overflow, not as -fsanitize=divide-by-zero. llvm-svn: 167433
-
Argyrios Kyrtzidis authored
it's also setup as 'INTERNAL_TOOL'. llvm-svn: 167432
-
Eli Friedman authored
llvm-svn: 167431
-
Jim Ingham authored
inlined subroutine ranges. <rdar://problem/12588579> llvm-svn: 167430
-
Richard Smith authored
-fno-address-sanitizer, -fthread-sanitizer, -fno-thread-sanitizer, and -fcatch-undefined-behavior as deprecated: produce a warning if they are used pointing to the corresponding -fsanitize= option. In passing add the missing '-' to some diagnostics. llvm-svn: 167429
-
Argyrios Kyrtzidis authored
llvm-svn: 167426
-
Argyrios Kyrtzidis authored
reference instead of relying on computing it. In general, if storage is no issue, it is preferable to deserialize info from the PCH instead of trying to recompute it after the PCH was loaded. The incentive to change this now was due to r155303 changing how friend template classes in dependent contexts are handled; such classes can now be chained to a previous template class but the computed InjectedClassNameType may be different due to the extra template parameters from the dependent context. The new handling requires more investigation but, in the meantime, writing out InjectedClassNameType fixes PCH issue in rdar://12627738. llvm-svn: 167425
-
rdar://problem/12582031Greg Clayton authored
Unnamed bitfields cause struct layout problems Synthesize unnamed bitfields when required. Most compilers don't mention unnamed bitfields in the DWARF, so we need to create them to keep clang happy with the types we create from the DWARF. We currently can't do this for ObjC since the DW_AT_bit_offset value for any direct ivars of ObjC classes as the values for these attributes are bogus. A bug has been filed on Clang to fix this, and another bug has been filed on LLDB to make sure we fix the DWARF parser once the clang fix is in by looking the the DW_AT_producer in the compile unit attributes and finding the compiler version and only enabling it for newer versions of clang. llvm-svn: 167424
-
Douglas Gregor authored
token. This is important because the first token could actually be after an #include that triggers a module import, which might use either Sema or the AST consumer before it would have been initialized. llvm-svn: 167423
-
Nadav Rotem authored
llvm-svn: 167422
-
Nadav Rotem authored
llvm-svn: 167421
-
Douglas Gregor authored
that we can model them as separate submodules. llvm-svn: 167420
-