Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Expand api out in the usual inserter way, though, I do have a | Mike Stump | 2009-10-01 | 1 | -3/+17 | |
| | | | | | | | question, can we get rid of the BasicBlock versions of all inserters and use Head == 0 to indicate the old case when GetInsertBlock == 0? llvm-svn: 83216 | |||||
* | Add another MDNode into DebugLocTuple. This will be used to keep track of ↵ | Devang Patel | 2009-10-01 | 1 | -5/+6 | |
| | | | | | | inlined functions. llvm-svn: 83190 | |||||
* | Add isFOO() helpers. Fix getDirectory() and getFilename() for DIScope. | Devang Patel | 2009-09-30 | 1 | -0/+50 | |
| | | | | llvm-svn: 83180 | |||||
* | Add a way for a frontend to generate more complex dwarf location | Mike Stump | 2009-09-30 | 1 | -0/+22 | |
| | | | | | | | | | | | | | | | | | | information. This allows arbitrary code involving DW_OP_plus_uconst and DW_OP_deref. The scheme allows for easy extention to include, any, or all of the DW_OP_ opcodes. I thought about just exposing all of them, but, wasn't sure if people wanted the dwarf opcodes exposed in the api. Is that a layering violation? With this scheme, the entire existing block scheme used by llvm-gcc can be switched over to the new scheme. I think that would be cleaner, as then the compiler specific bits are not present in llvm proper. Before the old code can be yanked however, similar code in clang would have to be removed. Next up, more testing. llvm-svn: 83120 | |||||
* | Remove std::string uses from DebugInfo interface. | Devang Patel | 2009-09-29 | 1 | -47/+43 | |
| | | | | llvm-svn: 83083 | |||||
* | Switch DIDescriptor to use a TrackingVH. - This makes it much safer to work ↵ | Daniel Dunbar | 2009-09-22 | 1 | -3/+12 | |
| | | | | | | with debug info, since it was extraordinarily easy to have dangling pointers thanks to MDNode uniquing. llvm-svn: 82507 | |||||
* | Tabs -> spaces, and remove trailing whitespace. | Daniel Dunbar | 2009-09-20 | 1 | -2/+2 | |
| | | | | llvm-svn: 82355 | |||||
* | Strip trailing whitespace. | Daniel Dunbar | 2009-09-19 | 1 | -58/+58 | |
| | | | | llvm-svn: 82332 | |||||
* | Provide a way to extract location info from DILocation. | Devang Patel | 2009-09-16 | 1 | -0/+23 | |
| | | | | llvm-svn: 82064 | |||||
* | Introduce DILocation. | Devang Patel | 2009-09-01 | 1 | -0/+12 | |
| | | | | llvm-svn: 80648 | |||||
* | Subprogram is a scope. Derive DISubprogram from DIScope. | Devang Patel | 2009-08-31 | 1 | -1/+18 | |
| | | | | llvm-svn: 80637 | |||||
* | Rename DIBlock as DILexicalBlock. | Devang Patel | 2009-08-31 | 1 | -2/+10 | |
| | | | | llvm-svn: 80633 | |||||
* | Derive DICompileUnit from DIScope. | Devang Patel | 2009-08-31 | 1 | -0/+8 | |
| | | | | llvm-svn: 80627 | |||||
* | Introduce DIScope. | Devang Patel | 2009-08-31 | 1 | -0/+16 | |
| | | | | llvm-svn: 80620 | |||||
* | Oops. Fix inverted logic in assertion check. | Devang Patel | 2009-08-31 | 1 | -6/+6 | |
| | | | | llvm-svn: 80618 | |||||
* | Simplify isDerivedType() and other predicate interface. | Devang Patel | 2009-08-31 | 1 | -22/+59 | |
| | | | | llvm-svn: 80602 | |||||
* | Reapply 79977. | Devang Patel | 2009-08-28 | 1 | -333/+176 | |
| | | | | | | Use MDNodes to encode debug info in llvm IR. llvm-svn: 80406 | |||||
* | Revert 79977. It causes llvm-gcc bootstrap failures on some platforms. | Devang Patel | 2009-08-26 | 1 | -179/+329 | |
| | | | | llvm-svn: 80073 | |||||
* | Update DebugInfo interface to use metadata, instead of special named ↵ | Devang Patel | 2009-08-25 | 1 | -329/+179 | |
| | | | | | | | | llvm.dbg.... global variables, to encode debugging information in llvm IR. This is mostly a mechanical change that tests metadata support very well. This change speeds up llvm-gcc by more then 6% at "-O0 -g" (measured by compiling InstructionCombining.cpp!) llvm-svn: 79977 | |||||
* | remove uses of llvm/Support/Streams.h. | Chris Lattner | 2009-08-23 | 1 | -32/+33 | |
| | | | | llvm-svn: 79838 | |||||
* | bug 4530: Make debug information static to it is preservered during bitcode ↵ | Richard Pennington | 2009-08-21 | 1 | -2/+2 | |
| | | | | | | linking. llvm-svn: 79616 | |||||
* | Oops. find all llvm.dbg.global_variables. | Devang Patel | 2009-08-17 | 1 | -1/+1 | |
| | | | | llvm-svn: 79274 | |||||
* | Push LLVMContexts through the IntegerType APIs. | Owen Anderson | 2009-08-13 | 1 | -36/+36 | |
| | | | | llvm-svn: 78948 | |||||
* | Keep track of DIType. | Devang Patel | 2009-08-10 | 1 | -3/+13 | |
| | | | | llvm-svn: 78602 | |||||
* | Remove dead code. | Devang Patel | 2009-08-06 | 1 | -31/+1 | |
| | | | | llvm-svn: 78335 | |||||
* | Privatize the StructType table, which unfortunately involves routing ↵ | Owen Anderson | 2009-08-05 | 1 | -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 Anderson | 2009-07-31 | 1 | -4/+4 | |
| | | | | | | | | change back are metadata related, which I'm waiting on to avoid conflicting with Devang. llvm-svn: 77721 | |||||
* | Process DbgDeclareInst. | Devang Patel | 2009-07-31 | 1 | -0/+15 | |
| | | | | llvm-svn: 77694 | |||||
* | Move more code back to 2.5 APIs. | Owen Anderson | 2009-07-30 | 1 | -1/+1 | |
| | | | | llvm-svn: 77635 | |||||
* | s/DebugInfoEnumerator/DebugInfoFinder/g | Devang Patel | 2009-07-30 | 1 | -31/+31 | |
| | | | | llvm-svn: 77615 | |||||
* | walk DbgRegionStartInst and DbgRegionEndInst | Devang Patel | 2009-07-30 | 1 | -2/+20 | |
| | | | | llvm-svn: 77604 | |||||
* | Eliminate a few unused-variable warnings | Douglas Gregor | 2009-07-29 | 1 | -1/+0 | |
| | | | | llvm-svn: 77519 | |||||
* | Move types back to the 2.5 API. | Owen Anderson | 2009-07-29 | 1 | -4/+4 | |
| | | | | llvm-svn: 77516 | |||||
* | Move ConstantExpr to 2.5 API. | Owen Anderson | 2009-07-29 | 1 | -3/+3 | |
| | | | | llvm-svn: 77494 | |||||
* | Add DebugInfoEnumerator to collect debug info. | Devang Patel | 2009-07-28 | 1 | -0/+117 | |
| | | | | llvm-svn: 77360 | |||||
* | Change ConstantArray to 2.5 API. | Owen Anderson | 2009-07-28 | 1 | -2/+2 | |
| | | | | llvm-svn: 77347 | |||||
* | Move ConstantStruct back to 2.5 API. | Owen Anderson | 2009-07-27 | 1 | -20/+10 | |
| | | | | llvm-svn: 77266 | |||||
* | Remove Value::getName{Start,End}, the last of the old Name APIs. | Daniel Dunbar | 2009-07-26 | 1 | -2/+2 | |
| | | | | llvm-svn: 77152 | |||||
* | Revert the ConstantInt constructors back to their 2.5 forms where possible, ↵ | Owen Anderson | 2009-07-24 | 1 | -34/+34 | |
| | | | | | | thanks to contexts-on-types. More to come. llvm-svn: 77011 | |||||
* | Fix thinko. | Devang Patel | 2009-07-22 | 1 | -1/+1 | |
| | | | | llvm-svn: 76769 | |||||
* | Add replaceAllUsesWith() to FE replace debug info constructs while building ↵ | Devang Patel | 2009-07-22 | 1 | -0/+12 | |
| | | | | | | complex types. llvm-svn: 76765 | |||||
* | Begin the painful process of tearing apart the rat'ss nest that is ↵ | Owen Anderson | 2009-07-13 | 1 | -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 Anderson | 2009-07-08 | 1 | -24/+24 | |
| | | | | | | module is required. llvm-svn: 75025 | |||||
* | Push LLVMContext through GlobalVariables and IRBuilder. | Owen Anderson | 2009-07-08 | 1 | -12/+12 | |
| | | | | llvm-svn: 74985 | |||||
* | Re-LLVMContext-ize DebugInfo, now with less breakage. | Owen Anderson | 2009-07-07 | 1 | -58/+72 | |
| | | | | llvm-svn: 74920 | |||||
* | Revert part of r74873 that broke Clang's debug info generation. | Owen Anderson | 2009-07-07 | 1 | -81/+57 | |
| | | | | llvm-svn: 74910 | |||||
* | Finish LLVMContext-ing lib/Analysis. This required pushing LLVMContext's ↵ | Owen Anderson | 2009-07-06 | 1 | -57/+81 | |
| | | | | | | through the ValueTracking API. llvm-svn: 74873 | |||||
* | Simplify debug info intrisinc lowering. | Devang Patel | 2009-07-02 | 1 | -6/+0 | |
| | | | | llvm-svn: 74733 | |||||
* | Fix typo. | Devang Patel | 2009-07-02 | 1 | -5/+5 | |
| | | | | | | Thanks Duncan! llvm-svn: 74706 | |||||
* | Add debug info utility routines. | Devang Patel | 2009-07-02 | 1 | -0/+111 | |
| | | | | llvm-svn: 74680 |