summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [libclang] Add a test I forgot to commit for r156890.Argyrios Kyrtzidis2012-05-251-0/+18
| | | | llvm-svn: 157491
* Fixed a crash in logging when the name of anSean Callanan2012-05-251-1/+6
| | | | | | | | entity imported by the ASTImporter had a NamedDecl with a name that wasn't a plain string (e.g., a selector). llvm-svn: 157488
* <rdar://problem/11535465> Greg Clayton2012-05-251-8/+15
| | | | | | LC_ENCRYPTION_INFO with "cryptid == 0" is not actually encrypted and LLDB fails to read memory from file. llvm-svn: 157487
* Don't ignore linkage when ignoring visibility in the instantiation of aRafael Espindola2012-05-252-4/+29
| | | | | | method template. llvm-svn: 157486
* [NVPTX] Add a new test case for the newly-enabled call handlingJustin Holewinski2012-05-251-0/+26
| | | | | | NV_CONTRIB llvm-svn: 157485
* <rdar://problem/11534686> Greg Clayton2012-05-254-6/+28
| | | | | | Reading memory from a file when the section is encrypted doesn't show an error. No we do. llvm-svn: 157484
* add CodeGen support for the alloc_size attributeNuno Lopes2012-05-252-0/+28
| | | | llvm-svn: 157483
* Fixed an issue where we might have easy access to the string table data for ↵Greg Clayton2012-05-251-17/+21
| | | | | | a mach file from memory even though we have a process. So now we don't read the string table strings from memory when we don't have to. llvm-svn: 157482
* boundschecking:Nuno Lopes2012-05-254-50/+179
| | | | | | | add support for select add experimental support for alloc_size metadata llvm-svn: 157481
* Don't ignore linkage when ignoring visibility in the instantiation of aRafael Espindola2012-05-252-8/+27
| | | | | | function template. llvm-svn: 157480
* Change interface for TargetLowering::LowerCallTo and TargetLowering::LowerCallJustin Holewinski2012-05-2530-290/+343
| | | | | | | | | | to pass around a struct instead of a large set of individual values. This cleans up the interface and allows more information to be added to the struct for future targets without requiring changes to each and every target. NV_CONTRIB llvm-svn: 157479
* [analyzer] Don't crash on LValBitCastAnna Zaks2012-05-252-2/+9
| | | | llvm-svn: 157478
* Typo fix.Alexander Potapenko2012-05-251-2/+1
| | | | llvm-svn: 157477
* Fix memory corruption bug found and fixed by Andrew C. Morrow.Howard Hinnant2012-05-251-1/+0
| | | | llvm-svn: 157476
* Consider the linkage for member class templates even when we have to ignoreRafael Espindola2012-05-252-6/+31
| | | | | | the visibility. llvm-svn: 157475
* test/CodeGen/X86/bigstructret.ll: Suppress one test. It is ↵NAKAMURA Takumi2012-05-251-12/+0
| | | | | | msvc-incompatible. (compatible to mingw32 and netbsd, though) llvm-svn: 157474
* Factor ParseAsanOptions outside __asan_initAlexander Potapenko2012-05-251-9/+14
| | | | llvm-svn: 157473
* Introduce the check_malloc_usable_size flag (on by default).Alexander Potapenko2012-05-253-1/+7
| | | | | | | When the flag is set to zero, we do not check for errors in malloc_usable_size. This may be useful to work around a bug in Nvidia drivers prior to 295.* llvm-svn: 157472
* test/CodeGen/X86/bigstructret.ll: Relax stack offsets for hosts of ↵NAKAMURA Takumi2012-05-251-2/+2
| | | | | | stack-align=8, eg. win32 and netbsd. llvm-svn: 157471
* When ignoring visibility in an instantiation, still consider the linkage.Rafael Espindola2012-05-252-10/+30
| | | | | | | Similar fixes for function and member template to follow as I write the testcases. llvm-svn: 157470
* Whitespace fixes.Rafael Espindola2012-05-251-5/+4
| | | | llvm-svn: 157469
* Make the reassociation pass more powerful so that it can handle expressionsDuncan Sands2012-05-252-256/+410
| | | | | | | | | | | | | | | | | with arbitrary topologies (previously it would give up when hitting a diamond in the use graph for example). The testcase from PR12764 is now reduced from a pile of additions to the optimal 1617*%x0+208. In doing this I changed the previous strategy of dropping all uses for expression leaves to one of dropping all but one use. This works out more neatly (but required a bunch of tweaks) and is also safer: some recently fixed bugs during recursive linearization were because the linearization code thinks it completely owns a node if it has no uses outside the expression it is linearizing. But if the node was also in another expression that had been linearized (and thus all uses of the node from that expression dropped) then the conclusion that it is completely owned by the expression currently being linearized is wrong. Keeping one use from within each linearized expression avoids this kind of mistake. llvm-svn: 157467
* tsan: do not call into libc in symbolizer and in other code (this causes ↵Dmitry Vyukov2012-05-257-38/+105
| | | | | | recursion and crashes) llvm-svn: 157466
* tsan: output message about failure to intercept only if verbosity flag is passedDmitry Vyukov2012-05-251-1/+1
| | | | llvm-svn: 157465
* asan: fix testsDmitry Vyukov2012-05-253-5/+5
| | | | | | depending on -m32/-m64 addr2line says either e.g. __xsan_strnlen or just strnlen llvm-svn: 157464
* Links the entry point to the tooling documentation into clang's menu bar.Manuel Klimek2012-05-251-0/+1
| | | | llvm-svn: 157462
* Release notes update for -Wsometimes-uninitialized.Richard Smith2012-05-252-2/+37
| | | | llvm-svn: 157459
* Split a chunk of -Wconditional-uninitialized warnings out into a separate flag,Richard Smith2012-05-257-39/+592
| | | | | | | | | | | -Wsometimes-uninitialized. This detects cases where an explicitly-written branch inevitably leads to an uninitialized variable use (so either the branch is dead code or there is an uninitialized use bug). This chunk of warnings tentatively lives within -Wuninitialized, in order to give it more visibility to existing Clang users. llvm-svn: 157458
* Bump to lldb 152.Jason Molenda2012-05-254-21/+21
| | | | llvm-svn: 157456
* misched: trace formattingAndrew Trick2012-05-252-7/+7
| | | | llvm-svn: 157455
* Add support for function with stack frame checks added by the compiler;Jason Molenda2012-05-251-28/+57
| | | | | | | | | | | | | | | | | | | | these functions will end in the sequence mov %rbp, %rsp ret call __stack_chk_fail instead of the usual mov, ret. The x86 assembly profiler only looked for functions ending in 'ret' and added the Unwind row describing how to set the CFA based on that -- the addition of the call insn (which is jumped to earlier in the function body) threw off that inspection. Resolves the need to "step" twice to get out of these functions when doing source-level stepping. <rdar://problem/11469705> llvm-svn: 157454
* [analyzer] Loading external plugins with scan-buildAnna Zaks2012-05-252-4/+35
| | | | | | | | | | | | | Load custom plugins when running scan-build. This is useful when additional static analysis Checkers must be provided via clang's plugin interface. Loading additional plugins can now be done via the scan-build call: scan-build -load-plugin <plugin.so> A patch by Thomas Hauth. llvm-svn: 157452
* Early-continue.Reducing indentation.Bill Wendling2012-05-251-8/+7
| | | | llvm-svn: 157451
* Don't call exit from a runtime.Bill Wendling2012-05-251-2/+6
| | | | llvm-svn: 157450
* Compress MCRegisterInfo register name tables.Jakob Stoklund Olesen2012-05-253-9/+25
| | | | | | | Store (debugging) register names as offsets into a string table instead of as char pointers. llvm-svn: 157449
* Simplify code for calling a function where CanLowerReturn fails, fixing a ↵Eli Friedman2012-05-255-45/+48
| | | | | | small bug in the process. llvm-svn: 157446
* ensure value passed to is space is representable as unsigned charSeth Cantrell2012-05-251-8/+12
| | | | | | | if the value isn't an unsigned char or EOF behavior is undefined (and on Windows there's an assertion) llvm-svn: 157445
* Some cleanups around the uninitialized variables warning, and a FIXME. No ↵Richard Smith2012-05-242-22/+20
| | | | | | functional change. llvm-svn: 157440
* <rdar://problem/11529853>Greg Clayton2012-05-241-1/+10
| | | | | | | | | | | | | | Sending async packets can deadlock a program on darwin. We currently allow breakpoint packets and memory read/write packets (for software breakpoints) to be sent while a program is running. In the GDB remote plug-in, we will interrupt the run, send the async packet and resume (currently with the continue packet that caused the program to resume). If the GDB server supports the "vCont" packet, we might have initially continued with each thread stating it should continue. If new threads show up while we are stopped, which happend when running GCD, we can end up with new threads that we aren't mentioning in the continue list. So we start with a thread list of 1,2,3 and continue: continue thread 1, continue thread 2, continue thread 3 Now we interrupt and set a breakpoint and we actually have threads 1,2,3,4 now when we are about to resume, yet we send: continue thread 1, continue thread 2, continue thread 3 Any thread that isn't mentioned is currently going to stay suspended. This causes the deadlock. llvm-svn: 157439
* Silence unused variable warnings from when assertions are disabled.Kaelyn Uhrain2012-05-241-0/+2
| | | | llvm-svn: 157438
* misched: Use the same scheduling heuristics with -misched-topdown/bottomup.Andrew Trick2012-05-241-2/+16
| | | | | | (except the part about choosing direction) llvm-svn: 157437
* cleanup some code.Fariborz Jahanian2012-05-241-3/+2
| | | | llvm-svn: 157436
* objective-c: warn on use of property settersFariborz Jahanian2012-05-244-13/+40
| | | | | | | | backing two propeties because proprty names match except for first letter being of different case. // rdar://11528439, [PR12936]. llvm-svn: 157435
* Get rid of some non-ASCII en-dashes that crept in.Eli Friedman2012-05-241-7/+7
| | | | llvm-svn: 157434
* Shrink.Jakob Stoklund Olesen2012-05-241-7145/+18
| | | | llvm-svn: 157433
* Add support for range expressions in TableGen foreach loops.Jakob Stoklund Olesen2012-05-243-19/+77
| | | | | | | | | | | | Like this: foreach i = 0-127 in ... Use braces for composite ranges: foreach i = {0-3,9-7} in ... llvm-svn: 157432
* Don't put TGParser scratch results in the output.Jakob Stoklund Olesen2012-05-243-6/+9
| | | | | | Only fully expanded Records should go into RecordKeeper. llvm-svn: 157431
* Simplify TGParser::ProcessForEachDefs.Jakob Stoklund Olesen2012-05-242-103/+72
| | | | | | Use static type checking. llvm-svn: 157430
* misched: Trace regpressure.Andrew Trick2012-05-241-2/+4
| | | | llvm-svn: 157429
* misched: Give each ReadyQ a unique IDAndrew Trick2012-05-241-36/+45
| | | | llvm-svn: 157428
OpenPOWER on IntegriCloud