Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Per discussion with Sanjiv, remove the PIC16 target from mainline. When/if | Chris Lattner | 2010-10-11 | 1 | -490/+0 |
| | | | | | | | it comes back, it will be largely a rewrite, so keeping the old codebase in tree isn't helping anyone. llvm-svn: 116190 | ||||
* | fix a bug found by a warning I added to clang this morning. | Chris Lattner | 2010-07-14 | 1 | -1/+1 |
| | | | | llvm-svn: 108309 | ||||
* | Use overloaded operators instead of DIDescriptor::getNode() | Devang Patel | 2010-05-07 | 1 | -7/+7 |
| | | | | llvm-svn: 103276 | ||||
* | Momentous day: remove the "O" member from AsmPrinter. Now all | Chris Lattner | 2010-04-04 | 1 | -20/+25 |
| | | | | | | | | | | "asm printering" happens through MCStreamer. This also Streamerizes PIC16 debug info, which escaped my attention. This removes a leak from LLVMTargetMachine of the 'legacy' output stream. llvm-svn: 100327 | ||||
* | Switch the code generator (except the JIT) onto the new DebugLoc | Chris Lattner | 2010-04-02 | 1 | -8/+4 |
| | | | | | | | | | | | | | | | representation. This eliminates the 'DILocation' MDNodes for file/line/col tuples from -O0 -g codegen. This remove the old DebugLoc class, making it a typedef for DebugLoc, I'll rename NewDebugLoc next. I didn't update the JIT to use the new apis, so it will continue to work, but be as slow as before. Someone should eventually do this or, better yet, rip out the JIT debug info stuff and build the JIT on top of MC. llvm-svn: 100209 | ||||
* | Avoid using DIDescriptor.isNull(). | Devang Patel | 2010-03-08 | 1 | -1/+1 |
| | | | | | | This is a first step towards eliminating checks in Descriptor constructors. llvm-svn: 97975 | ||||
* | Revert r97947. | Devang Patel | 2010-03-08 | 1 | -1/+1 |
| | | | | llvm-svn: 97963 | ||||
* | Avoid using DIDescriptor.isNull(). | Devang Patel | 2010-03-08 | 1 | -1/+1 |
| | | | | | | This is a first step towards eliminating unncessary constructor checks in light weight DIDescriptor wrappers. llvm-svn: 97947 | ||||
* | Each field of auxiliary debug entry is only 1 byte long. | Sanjiv Gupta | 2010-02-25 | 1 | -1/+1 |
| | | | | llvm-svn: 97108 | ||||
* | Fix "the the" and similar typos. | Dan Gohman | 2010-02-10 | 1 | -1/+1 |
| | | | | llvm-svn: 95781 | ||||
* | Replace DebugLocTuple with DILocation. | Devang Patel | 2010-01-16 | 1 | -2/+3 |
| | | | | llvm-svn: 93630 | ||||
* | Avoid some possibly unsafe uses of StringRef::data(). | Benjamin Kramer | 2009-11-25 | 1 | -4/+2 |
| | | | | llvm-svn: 89873 | ||||
* | Use StringRef (again) in DebugInfo interface. | Devang Patel | 2009-11-25 | 1 | -4/+4 |
| | | | | llvm-svn: 89866 | ||||
* | revert 88761 as it fails builds. | Sanjiv Gupta | 2009-11-14 | 1 | -11/+5 |
| | | | | llvm-svn: 88762 | ||||
* | Fix debug info crashes for PIC16. | Sanjiv Gupta | 2009-11-14 | 1 | -5/+11 |
| | | | | llvm-svn: 88761 | ||||
* | Re-apply 84180 with the fixed test case. | Sanjiv Gupta | 2009-10-15 | 1 | -0/+1 |
| | | | | llvm-svn: 84195 | ||||
* | Revert "Complete Rewrite of AsmPrinter, TargetObjectFile based on new | Daniel Dunbar | 2009-10-15 | 1 | -1/+0 |
| | | | | | | PIC16Section class", it breaks globals.ll. llvm-svn: 84184 | ||||
* | Complete Rewrite of AsmPrinter, TargetObjectFile based on new PIC16Section class | Sanjiv Gupta | 2009-10-15 | 1 | -0/+1 |
| | | | | | | derived from MCSection. llvm-svn: 84180 | ||||
* | Few changes to comply with new DebugInfo Metadata representation. | Sanjiv Gupta | 2009-10-15 | 1 | -4/+5 |
| | | | | llvm-svn: 84179 | ||||
* | s/DebugLoc.CompileUnit/DebugLoc.Scope/g | Devang Patel | 2009-10-13 | 1 | -1/+1 |
| | | | | | | s/DebugLoc.InlinedLoc/DebugLoc.InlinedAtLoc/g llvm-svn: 84054 | ||||
* | Remove std::string uses from DebugInfo interface. | Devang Patel | 2009-09-29 | 1 | -10/+7 |
| | | | | llvm-svn: 83083 | ||||
* | Simplify isDerivedType() and other predicate interface. | Devang Patel | 2009-08-31 | 1 | -3/+3 |
| | | | | llvm-svn: 80602 | ||||
* | Reapply 79977. | Devang Patel | 2009-08-28 | 1 | -13/+12 |
| | | | | | | 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 | -12/+13 |
| | | | | llvm-svn: 80073 | ||||
* | Update DebugInfo interface to use metadata, instead of special named ↵ | Devang Patel | 2009-08-25 | 1 | -13/+12 |
| | | | | | | | | 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 | ||||
* | rename TAI -> MAI, being careful not to make MAILJMP instructions :) | Chris Lattner | 2009-08-22 | 1 | -1/+1 |
| | | | | llvm-svn: 79777 | ||||
* | revert 79764, my dependencies failed me again. | Chris Lattner | 2009-08-22 | 1 | -0/+1 |
| | | | | llvm-svn: 79767 | ||||
* | Revert a few changes that were done in 78603. | Sanjiv Gupta | 2009-08-15 | 1 | -13/+14 |
| | | | | | | | | PIC16DebugInfo currently rely on NameStr of composite type descriptors to uniquely identify debug info for two aggregate type decls with same name. This implementation will change when we have MDNodes based debug info implemenatation in place llvm-svn: 79097 | ||||
* | Do not rely on magic "llvm.dbg.*" global variable name to find debug info. | Devang Patel | 2009-08-10 | 1 | -43/+47 |
| | | | | | | PIC16 developers, please verify. llvm-svn: 78603 | ||||
* | Minor fixes to avoid using invalid debugloc. | Sanjiv Gupta | 2009-08-07 | 1 | -5/+9 |
| | | | | llvm-svn: 78383 | ||||
* | Use DebugInfoFinder | Devang Patel | 2009-08-06 | 1 | -15/+9 |
| | | | | llvm-svn: 78334 | ||||
* | Switch to getNameStr(). | Daniel Dunbar | 2009-07-24 | 1 | -2/+2 |
| | | | | llvm-svn: 76962 | ||||
* | Switch some clients to Value::getName(), and other getName() user | Daniel Dunbar | 2009-07-22 | 1 | -1/+1 |
| | | | | | | | simplification. - NFC llvm-svn: 76789 | ||||
* | Have asm printers use formatted_raw_ostream directly to avoid a | David Greene | 2009-07-14 | 1 | -1/+1 |
| | | | | | | dynamic_cast<>. llvm-svn: 75670 | ||||
* | Avoid directly relying on llvm.dbg.compile_unit and llvm.dbg.global_variables. | Devang Patel | 2009-07-06 | 1 | -27/+29 |
| | | | | | | PIC16 developers, please verify. Thanks. llvm-svn: 74880 | ||||
* | Add FIXMEs. | Devang Patel | 2009-07-06 | 1 | -0/+3 |
| | | | | llvm-svn: 74879 | ||||
* | Fix may-be-used-uninitialized warning. | Daniel Dunbar | 2009-06-26 | 1 | -1/+1 |
| | | | | llvm-svn: 74253 | ||||
* | mv CodeGen/DebugLoc.h Support/DebugLoc.h | Devang Patel | 2009-06-19 | 1 | -1/+1 |
| | | | | llvm-svn: 73786 | ||||
* | Code Restructuring. No functionality change. | Sanjiv Gupta | 2009-06-16 | 1 | -146/+300 |
| | | | | llvm-svn: 73481 | ||||
* | The subprogram descriptor for a function may be missing (llvm-ld linking two ↵ | Sanjiv Gupta | 2009-06-13 | 1 | -65/+102 |
| | | | | | | | | | static functions with same name), so pick up the compilation unit for the function from the first valid debug loc of its instructions. This patch also emits debug info for structure (aggregate types in general) types. llvm-svn: 73295 | ||||
* | Emit file directives correctly in case of a .bc is generated by llvm-ld ↵ | Sanjiv Gupta | 2009-06-03 | 1 | -2/+24 |
| | | | | | | after linking in several .bc files. llvm-svn: 72781 | ||||
* | Emit debug info for locals with proper scope. | Sanjiv Gupta | 2009-05-28 | 1 | -0/+132 |
| | | | | llvm-svn: 72531 | ||||
* | Emit debug information for globals (which include automatic variables as ↵ | Sanjiv Gupta | 2009-05-22 | 1 | -0/+138 |
well because on PIC16 they are emitted as globals by the frontend). llvm-svn: 72262 |