summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Have scoped mutexes take referenes instead of pointers.Owen Anderson2009-07-0718-78/+76
| | | | llvm-svn: 74931
* Fix lli to print an error and exit when EE returns null but no string. PatchChris Lattner2009-07-071-2/+5
| | | | | | by Eric Rannaud! llvm-svn: 74930
* "BinaryObject.h was implicitly converting between uint{16,32,64}_t toChris Lattner2009-07-071-58/+58
| | | | | | | | | | | uint8_t (via 'foo & 255'), i replaced this with an explicit (uint8_t) cast which is equivalent, faster and more correct (silences type-related warnings). Also, following coding standards I replaced post-increment with pre-increment." Patch by Ryan Flynn! llvm-svn: 74929
* Remove unused parameter.Bill Wendling2009-07-071-2/+2
| | | | llvm-svn: 74928
* Eliminate the static constructors and locks from DynamicLibrary.cpp.Chris Lattner2009-07-072-26/+42
| | | | | | | | | | | | | | | | | | This fixes PR4512 and eliminating static ctors is always good. Losing thread safety is unfortunate, but the code is just incredibly poorly designed. If someone is interested, the "right" solution is to split DynamicLibrary.cpp into two separate pieces: a stateless piece in libsystem, and a simple support file in libsupport that has the "state" (e.g. AddSymbol) in managed static objects. Doing this would both fix memory leaks we already have, as well as make the code thread safe again. it would also make sense to move all the unix specific code in System/DynamicLibrary.cpp into System/Unix/DynamicLibrary.inc. llvm-svn: 74927
* remove dead code, noone creates instances of "DynamicLibrary", so the ctor ↵Chris Lattner2009-07-072-67/+31
| | | | | | and dtor are dead. llvm-svn: 74926
* Revert 74898. It broke several tests.Evan Cheng2009-07-071-9/+3
| | | | llvm-svn: 74925
* we don't use libtool anymore, update comments.Chris Lattner2009-07-071-12/+2
| | | | llvm-svn: 74924
* Fix braces.Torok Edwin2009-07-071-4/+2
| | | | llvm-svn: 74923
* Introduce new error handling API.Torok Edwin2009-07-075-7/+118
| | | | | | | | This will replace exit()/abort() style error handling with an API that allows clients to register custom error handling hooks. The default is to call exit(1) when no error handler is provided. llvm-svn: 74922
* Re-LLVMContext-ize DebugInfo, now with less breakage.Owen Anderson2009-07-072-58/+75
| | | | llvm-svn: 74920
* Convert the CharInfo table to be statically initialized, instead of ↵Chris Lattner2009-07-071-15/+86
| | | | | | dynamically initialized. Patch by Ryan Flynn! llvm-svn: 74919
* Change all SCEV* to SCEV *.Dan Gohman2009-07-0712-511/+514
| | | | llvm-svn: 74918
* Tighten up the conditions under which we build an implicit functionDouglas Gregor2009-07-072-3/+18
| | | | | | declaration for a builtin. llvm-svn: 74917
* This parameter should default to true, not false.Owen Anderson2009-07-071-1/+1
| | | | llvm-svn: 74915
* Regenerate.Mikhail Glushenkov2009-07-071-1/+2
| | | | llvm-svn: 74914
* Documentation update.Mikhail Glushenkov2009-07-071-1/+2
| | | | llvm-svn: 74913
* Show how to modify built-in options.Mikhail Glushenkov2009-07-071-2/+19
| | | | | | | Sanjiv complained about the need to maintain local changes to lib/CompilerDriver. llvm-svn: 74912
* Make ASTContext explicitly keep track of the declaration for the CDouglas Gregor2009-07-077-11/+62
| | | | | | | | | | | | | | | | | FILE type, rather than using name lookup to find FILE within the translation unit. Within precompiled headers, FILE is treated as yet another "special type" (like __builtin_va_list). This change should provide a performance improvement (not verified), since the lookup into the translation unit declaration forces the (otherwise unneeded) construction of a large hash table. More importantly, with precompiled headers, the construction of that table requires deserializing most of the top-level declarations from the precompiled header, which are then unused. Fixes PR 4509. llvm-svn: 74911
* Revert part of r74873 that broke Clang's debug info generation.Owen Anderson2009-07-071-81/+57
| | | | llvm-svn: 74910
* A few change per Doug's feedback.Fariborz Jahanian2009-07-072-9/+8
| | | | | | - Fariborz llvm-svn: 74909
* Regenerate.Mikhail Glushenkov2009-07-071-0/+5
| | | | llvm-svn: 74908
* Documentation update.Mikhail Glushenkov2009-07-071-0/+6
| | | | llvm-svn: 74907
* s/llvmc2/llvmc/Mikhail Glushenkov2009-07-071-1/+1
| | | | llvm-svn: 74906
* Add an 'init' option property.Mikhail Glushenkov2009-07-072-2/+28
| | | | | | | Makes possible to provide default values for options defined in plugins (same as cl::init). llvm-svn: 74905
* Refactoring.Mikhail Glushenkov2009-07-071-18/+28
| | | | | | | Make isList(), isSwitch() and isParameter() member functions of OptionDescription. llvm-svn: 74904
* Comment fix.Mikhail Glushenkov2009-07-071-3/+2
| | | | llvm-svn: 74903
* if the terminator is a branch depending upon the side effects of aSanjiv Gupta2009-07-071-3/+9
| | | | | | | | previous cmp; a copy can not be inserted here if the copy insn also has side effects. We don't have access to the attributes of copy insn here; so just play safe by finding a safe locations for branch terminators. llvm-svn: 74898
* Fix comment.Zhongxing Xu2009-07-071-1/+1
| | | | llvm-svn: 74896
* Add Thumb2 pkhbt / pkhtb.Evan Cheng2009-07-072-4/+98
| | | | llvm-svn: 74895
* fix an out-of-date comment.Chris Lattner2009-07-071-5/+3
| | | | llvm-svn: 74894
* pic16 preproc defs.Sanjiv Gupta2009-07-071-0/+5
| | | | llvm-svn: 74893
* fix comment.Zhongxing Xu2009-07-071-2/+2
| | | | llvm-svn: 74890
* Add some more Thumb2 multiplication instructions.Evan Cheng2009-07-076-11/+187
| | | | llvm-svn: 74889
* 80 col violation.Evan Cheng2009-07-071-2/+2
| | | | llvm-svn: 74888
* Refactor DeclLocResolver/StmtLocResolver into a more functional style by ↵Argyrios Kyrtzidis2009-07-071-187/+117
| | | | | | | | removing the search state and by having their Visit* methods return the ASTLocation directly. llvm-svn: 74887
* Don't accept globals as matching 'i' constraintDale Johannesen2009-07-071-1/+6
| | | | | | | in PIC modes (in accordance with existing comment). gcc.apple/asm-block-25.c llvm-svn: 74886
* Introduce the notion of "Relocatable" precompiled headers, which are builtDouglas Gregor2009-07-0714-64/+325
| | | | | | | | | | | | with a particular system root directory and can be used with a different system root directory when the headers it depends on have been installed. Relocatable precompiled headers rewrite the file names of the headers used when generating the PCH file into the corresponding file names of the headers available when using the PCH file. Addresses <rdar://problem/7001604>. llvm-svn: 74885
* NewCastRegion: Handle casts *from* pointers to incomplete structs to other ↵Ted Kremenek2009-07-062-9/+25
| | | | | | types. llvm-svn: 74884
* Add isMetadata() to check metadata operand.Devang Patel2009-07-061-1/+3
| | | | llvm-svn: 74883
* Add new ValueType for metadata.Devang Patel2009-07-064-1/+9
| | | | llvm-svn: 74882
* !"i" is a valid MDString.Devang Patel2009-07-061-1/+0
| | | | llvm-svn: 74881
* Avoid directly relying on llvm.dbg.compile_unit and llvm.dbg.global_variables.Devang Patel2009-07-061-27/+29
| | | | | | PIC16 developers, please verify. Thanks. llvm-svn: 74880
* Add FIXMEs.Devang Patel2009-07-061-0/+3
| | | | llvm-svn: 74879
* "LLVMContext* " --> "LLVMContext *"Owen Anderson2009-07-0631-109/+109
| | | | llvm-svn: 74878
* Fix 80 col violation.Ted Kremenek2009-07-061-4/+4
| | | | llvm-svn: 74877
* Restructure NewCastRegion to use a switch statement that dispatches off theTed Kremenek2009-07-061-51/+62
| | | | | | | region type. This better shows the logic of the method and allows the compiler to check if we didn't handle a specific region kind. llvm-svn: 74876
* Fix 80 col violation.Ted Kremenek2009-07-061-2/+2
| | | | llvm-svn: 74875
* NewCastRegion: Handle casts to any Objective-C pointer, not just qualified ids.Ted Kremenek2009-07-061-2/+2
| | | | llvm-svn: 74874
* Finish LLVMContext-ing lib/Analysis. This required pushing LLVMContext's ↵Owen Anderson2009-07-0611-102/+152
| | | | | | through the ValueTracking API. llvm-svn: 74873
OpenPOWER on IntegriCloud