- Mar 24, 2012
-
-
Fariborz Jahanian authored
used in modern objc translator. // rdar://11105680 llvm-svn: 153386
-
Rafael Espindola authored
llvm-svn: 153385
-
Fariborz Jahanian authored
fields in _class_ro_t metadata. // rdar://11079898 llvm-svn: 153384
-
Rafael Espindola authored
Thanks to NAKAMURA Takumi for finding it! llvm-svn: 153383
-
NAKAMURA Takumi authored
Revert r153360 (and r153380), "Second part of PR12251. Produce the range metadata in clang for booleans and". For i686 targets (eg. cygwin), I saw "Range must not be empty!" in verifier. It produces (i32)[0x80000000:0x80000000) from (uint64_t)[0xFFFFFFFF80000000ULL:0x0000000080000000ULL), for signed i32 on MDNode::Range. llvm-svn: 153382
-
Benjamin Kramer authored
llvm-svn: 153381
-
Benjamin Kramer authored
llvm-svn: 153380
-
Alexey Samsonov authored
llvm-svn: 153379
-
Alexey Samsonov authored
llvm-svn: 153378
-
Alexey Samsonov authored
llvm-svn: 153377
-
Alexey Samsonov authored
llvm-svn: 153376
-
Jason Molenda authored
llvm-svn: 153374
-
Hal Finkel authored
The PPC64 SVR4 ABI requires integer stack arguments, and thus the var. args., that are smaller than 64 bits be zero extended to 64 bits. llvm-svn: 153373
-
Hal Finkel authored
llvm-svn: 153372
-
Jason Molenda authored
llvm-svn: 153371
-
Jordy Rose authored
[analyzer] Tighten up the realloc() failure path note generation...make sure we get the right realloc()! llvm-svn: 153370
-
Jordy Rose authored
[analyzer] Restart path diagnostic generation if any of the visitors change the report configuration while walking the path. This required adding a change count token to BugReport, but also allowed us to ditch ImmutableList as the BugReporterVisitor data type. Also, remove the hack from MallocChecker, now that visitors appear in the opposite order. This is not exactly a fix, but the common case -- custom diagnostics after generic ones -- is now the default behavior. llvm-svn: 153369
-
Jordy Rose authored
[analyzer] Add a clone() method to BugReporterVisitor, so that we'll be able to reset diagnostic generation. llvm-svn: 153368
-
Argyrios Kyrtzidis authored
recover by returning the statements that we parsed so far, instead of dropping the whole function body. rdar://10967343 llvm-svn: 153367
-
Francois Pichet authored
llvm-svn: 153366
-
Johnny Chen authored
llvm-svn: 153365
-
Justin Holewinski authored
Code such as: %vreg100 = setcc %vreg10, -1, SETNE brcond %vreg10, %tgt was being incorrectly morphed into %vreg100 = and %vreg10, 1 brcond %vreg10, %tgt where the 'and' instruction could be eliminated since such logic is on 1-bit types in the PTX back-end, leaving us with just: brcond %vreg10, %tgt which essentially gives us inverted branch conditions. llvm-svn: 153364
-
Enrico Granata authored
Adding a new API call IsTypeComplete() to SBType. This call is meant to check if the type has been previously completed or not (which is mostly interesting from a performance point of view) Adding a test case that checks that we do not complete types before due time. This should help us track cases similar to the cascading data formatters. llvm-svn: 153363
-
Andrew Trick authored
llvm-svn: 153362
-
rdar://problem/11101372Sean Callanan authored
We now reject binaries built with LTO and print an error, rather than crashing later while trying to parse them. llvm-svn: 153361
-
Rafael Espindola authored
c++ enums. llvm-svn: 153360
-
Rafael Espindola authored
metadata. llvm-svn: 153359
-
Richard Smith authored
some calling code to actually pass in a non-null type, to avoid a crash. llvm-svn: 153358
-
Kostya Serebryany authored
llvm-svn: 153356
-
Argyrios Kyrtzidis authored
just because there was an attribute in front of it. llvm-svn: 153355
-
Argyrios Kyrtzidis authored
managed to insert an @interface as top level decl contained by another @interface. A commit to also not allow this as valid code will be coming. rdar://11105114. llvm-svn: 153354
-
Kostya Serebryany authored
llvm-svn: 153353
-
Bill Wendling authored
destination module, but one of them isn't used in the destination module. If another module comes along and the uses the unused type, there could be type conflicts when the modules are finally linked together. (This happened when building LLVM.) The test that was reduced is: Module A: %Z = type { %A } %A = type { %B.1, [7 x x86_fp80] } %B.1 = type { %C } %C = type { i8* } declare void @func_x(%C*, i64, i64) declare void @func_z(%Z* nocapture) Module B: %B = type { %C.1 } %C.1 = type { i8* } %A.2 = type { %B.3, [5 x x86_fp80] } %B.3 = type { %C.1 } define void @func_z() { %x = alloca %A.2, align 16 %y = getelementptr inbounds %A.2* %x, i64 0, i32 0, i32 0 call void @func_x(%C.1* %y, i64 37, i64 927) nounwind ret void } declare void @func_x(%C.1*, i64, i64) declare void @func_y(%B* nocapture) (Unfortunately, this test doesn't fail under llvm-link, only during an LTO linking.) The '%C' and '%C.1' clash. The destination module gets the '%C' declaration. When merging Module B, it looks at the '%C.1' subtype of the '%B' structure. It adds that in, because that's cool. And when '%B.3' is processed, it uses the '%C.1'. But the '%B' has used '%C' and we prefer to use '%C'. So the '@func_x' type is changed to 'void (%C*, i64, i64)', but the type of '%x' in '@func_z' remains '%A.2'. The GEP resolves to a '%C.1', which conflicts with the '@func_x' signature. We can resolve this situation by making sure that the type is used in the destination before saying that it should be used in the module being merged in. With this fix, LLVM and Clang both compile under LTO. <rdar://problem/10913281> llvm-svn: 153351
-
Richard Smith authored
forward-declared enums aren't /quite/ done yet. llvm-svn: 153350
-
Richard Smith authored
a previous declaration if the redeclaration is invalid. That way lies madness. Fixes a crash-on-invalid reported by Abramo. llvm-svn: 153349
-
Akira Hatanaka authored
Patch by Simon Atanasyan. llvm-svn: 153348
-
Jim Grosbach authored
No functional change, just tidy up the code and nomenclature a bit. llvm-svn: 153347
-
Jim Grosbach authored
Dump the hex representation to the comment stream as well as the float value. llvm-svn: 153346
-
Akira Hatanaka authored
entries in the relocation table before they are written out to the file. llvm-svn: 153345
-
- Mar 23, 2012
-
-
Dan Gohman authored
is retaining the return value of an invoke that it immediately follows. llvm-svn: 153344
-