summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/DebugInfo.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Push LLVMContexts through the IntegerType APIs.Owen Anderson2009-08-131-36/+36
| | | | llvm-svn: 78948
* Keep track of DIType.Devang Patel2009-08-101-3/+13
| | | | llvm-svn: 78602
* Remove dead code.Devang Patel2009-08-061-31/+1
| | | | llvm-svn: 78335
* Privatize the StructType table, which unfortunately involves routing ↵Owen Anderson2009-08-051-11/+21
| | | | | | contexts through a number of APIs. llvm-svn: 78258
* Move a few more APIs back to 2.5 forms. The only remaining ones left to ↵Owen Anderson2009-07-311-4/+4
| | | | | | | | change back are metadata related, which I'm waiting on to avoid conflicting with Devang. llvm-svn: 77721
* Process DbgDeclareInst.Devang Patel2009-07-311-0/+15
| | | | llvm-svn: 77694
* Move more code back to 2.5 APIs.Owen Anderson2009-07-301-1/+1
| | | | llvm-svn: 77635
* s/DebugInfoEnumerator/DebugInfoFinder/gDevang Patel2009-07-301-31/+31
| | | | llvm-svn: 77615
* walk DbgRegionStartInst and DbgRegionEndInstDevang Patel2009-07-301-2/+20
| | | | llvm-svn: 77604
* Eliminate a few unused-variable warningsDouglas Gregor2009-07-291-1/+0
| | | | llvm-svn: 77519
* Move types back to the 2.5 API.Owen Anderson2009-07-291-4/+4
| | | | llvm-svn: 77516
* Move ConstantExpr to 2.5 API.Owen Anderson2009-07-291-3/+3
| | | | llvm-svn: 77494
* Add DebugInfoEnumerator to collect debug info.Devang Patel2009-07-281-0/+117
| | | | llvm-svn: 77360
* Change ConstantArray to 2.5 API.Owen Anderson2009-07-281-2/+2
| | | | llvm-svn: 77347
* Move ConstantStruct back to 2.5 API.Owen Anderson2009-07-271-20/+10
| | | | llvm-svn: 77266
* Remove Value::getName{Start,End}, the last of the old Name APIs.Daniel Dunbar2009-07-261-2/+2
| | | | llvm-svn: 77152
* Revert the ConstantInt constructors back to their 2.5 forms where possible, ↵Owen Anderson2009-07-241-34/+34
| | | | | | thanks to contexts-on-types. More to come. llvm-svn: 77011
* Fix thinko.Devang Patel2009-07-221-1/+1
| | | | llvm-svn: 76769
* Add replaceAllUsesWith() to FE replace debug info constructs while building ↵Devang Patel2009-07-221-0/+12
| | | | | | complex types. llvm-svn: 76765
* Begin the painful process of tearing apart the rat'ss nest that is ↵Owen Anderson2009-07-131-1/+1
| | | | | | | | | Constants.cpp and ConstantFold.cpp. This involves temporarily hard wiring some parts to use the global context. This isn't ideal, but it's the only way I could figure out to make this process vaguely incremental. llvm-svn: 75445
* Switch GlobalVariable ctors to a sane API, where *either* a context or a ↵Owen Anderson2009-07-081-24/+24
| | | | | | module is required. llvm-svn: 75025
* Push LLVMContext through GlobalVariables and IRBuilder.Owen Anderson2009-07-081-12/+12
| | | | llvm-svn: 74985
* Re-LLVMContext-ize DebugInfo, now with less breakage.Owen Anderson2009-07-071-58/+72
| | | | llvm-svn: 74920
* Revert part of r74873 that broke Clang's debug info generation.Owen Anderson2009-07-071-81/+57
| | | | llvm-svn: 74910
* Finish LLVMContext-ing lib/Analysis. This required pushing LLVMContext's ↵Owen Anderson2009-07-061-57/+81
| | | | | | through the ValueTracking API. llvm-svn: 74873
* Simplify debug info intrisinc lowering.Devang Patel2009-07-021-6/+0
| | | | llvm-svn: 74733
* Fix typo.Devang Patel2009-07-021-5/+5
| | | | | | Thanks Duncan! llvm-svn: 74706
* Add debug info utility routines.Devang Patel2009-07-021-0/+111
| | | | llvm-svn: 74680
* Keep DIDescriptor methods together. Devang Patel2009-07-011-123/+127
| | | | | | No functionality change. llvm-svn: 74652
* improve the APIs for creating struct and function types with no ↵Chris Lattner2009-07-011-1/+1
| | | | | | | | arguments/elements to not have to create a temporary vector (in the API at least). Patch by Jay Foad! llvm-svn: 74584
* Remove debug info anchors - llvm.dbg.compile_units, llvm.dbg.subprogramsDevang Patel2009-06-261-67/+37
| | | | | | and llvm.dbg.global_variables. llvm-svn: 74251
* It is not a good idea to have data member's name match argument's name. In ↵Devang Patel2009-06-231-21/+21
| | | | | | fact, it is a simple receipe to waste an hour or so. llvm-svn: 74018
* Fix old-style type names in comments.Dan Gohman2009-06-141-1/+1
| | | | llvm-svn: 73362
* Use v.data() instead of &v[0] when SmallVector v might be empty.Jay Foad2009-05-211-1/+1
| | | | llvm-svn: 72210
* Non-functionality changes:Bill Wendling2009-05-141-110/+85
| | | | | | | | - Reformatting. - Use while() instead of do-while(). - Move simple constructors into .h file. llvm-svn: 71782
* Print out nicer dump info for DIDescriptor.Bill Wendling2009-05-081-1/+2
| | | | llvm-svn: 71253
* Revert 71165. It did more than just revert 71158 and it introducedDan Gohman2009-05-071-31/+1
| | | | | | several regressions. The problem due to 71158 is now fixed. llvm-svn: 71176
* Temporarily revert r71158. It was causing a failure during a full bootstrap:Bill Wendling2009-05-071-1/+31
| | | | | | | | | | | | | | | | | | | | | checking for bcopy... no checking for getc_unlocked... Assertion failed: (0 && "Unknown SCEV kind!"), function operator(), file /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvmCore.roots/llvmCore~obj/src/lib/Analysis/ScalarEvolution.cpp, line 511. /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvmgcc42.roots/llvmgcc42~obj/src/libdecnumber/decUtility.c:360: internal compiler error: Abort trap Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://developer.apple.com/bugreporter> for instructions. make[4]: *** [decUtility.o] Error 1 make[4]: *** Waiting for unfinished jobs.... Assertion failed: (0 && "Unknown SCEV kind!"), function operator(), file /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvmCore.roots/llvmCore~obj/src/lib/Analysis/ScalarEvolution.cpp, line 511. /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvmgcc42.roots/llvmgcc42~obj/src/libdecnumber/decNumber.c:5591: internal compiler error: Abort trap Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://developer.apple.com/bugreporter> for instructions. make[4]: *** [decNumber.o] Error 1 make[3]: *** [all-stage2-libdecnumber] Error 2 make[3]: *** Waiting for unfinished jobs.... llvm-svn: 71165
* Add dump method to DIDescriptor.Bill Wendling2009-05-051-1/+5
| | | | llvm-svn: 71028
* Do not require variable debug info nodes to have a compile unit.Chris Lattner2009-05-051-2/+1
| | | | | | | For implicit decls like "self" and "_cmd" in ObjC, these decls should not have a location. llvm-svn: 70964
* -Move the DwarfWriter::ValidDebugInfo check to a static ↵Argyrios Kyrtzidis2009-05-031-0/+44
| | | | | | | | DIDescriptor::ValidDebugInfo -Create DebugLocs without the need to have a DwarfWriter around llvm-svn: 70682
* Add a method to check that the subprogram holds debug info for the given ↵Devang Patel2009-04-151-0/+13
| | | | | | Function or not. llvm-svn: 69113
* Do not ignore DW_TAG_class_type!Devang Patel2009-03-251-0/+1
| | | | llvm-svn: 67675
* Oops...I committed too much.Bill Wendling2009-03-131-38/+37
| | | | llvm-svn: 66867
* Temporarily XFAIL this test.Bill Wendling2009-03-131-37/+38
| | | | llvm-svn: 66866
* Global variables don't have a corresponding llvm.dbg.declare, yet it is possibleTorok Edwin2009-03-101-0/+58
| | | | | | | | to obtain debug info about them. Introduce helpers to access debug info for global variables. Also introduce a helper that works for both local and global variables. llvm-svn: 66541
* Pass in a std::string when getting the names of debugging things. This cuts downBill Wendling2009-03-091-14/+35
| | | | | | on the number of times a std::string is created and copied. llvm-svn: 66396
* Introduce new linkage types linkonce_odr, weak_odr, common_odrDuncan Sands2009-03-071-1/+1
| | | | | | | | | | | | | | | | | | | | | and extern_weak_odr. These are the same as the non-odr versions, except that they indicate that the global will only be overridden by an *equivalent* global. In C, a function with weak linkage can be overridden by a function which behaves completely differently. This means that IP passes have to skip weak functions, since any deductions made from the function definition might be wrong, since the definition could be replaced by something completely different at link time. This is not allowed in C++, thanks to the ODR (One-Definition-Rule): if a function is replaced by another at link-time, then the new function must be the same as the original function. If a language knows that a function or other global can only be overridden by an equivalent global, it can give it the weak_odr linkage type, and the optimizers will understand that it is alright to make deductions based on the function body. The code generators on the other hand map weak and weak_odr linkage to the same thing. llvm-svn: 66339
* If compile unit's language is not set then don't crash while dump'ing ↵Devang Patel2009-02-241-1/+2
| | | | | | compile unit. llvm-svn: 65402
* The debugger sometimes lookup dynamically in the runtime to find ivar info ↵Devang Patel2009-02-171-4/+8
| | | | | | | | of any Objective-C classes. It would be very helpful to debugger if the compiler encodes runtime version number in DWARF. Add support for two additional DWARF attributes to encode Objective-C runtime version number. llvm-svn: 64834
OpenPOWER on IntegriCloud