summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PIC16/PIC16DebugInfo.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Per discussion with Sanjiv, remove the PIC16 target from mainline. When/ifChris Lattner2010-10-111-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 Lattner2010-07-141-1/+1
| | | | llvm-svn: 108309
* Use overloaded operators instead of DIDescriptor::getNode()Devang Patel2010-05-071-7/+7
| | | | llvm-svn: 103276
* Momentous day: remove the "O" member from AsmPrinter. Now all Chris Lattner2010-04-041-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 DebugLocChris Lattner2010-04-021-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 Patel2010-03-081-1/+1
| | | | | | This is a first step towards eliminating checks in Descriptor constructors. llvm-svn: 97975
* Revert r97947.Devang Patel2010-03-081-1/+1
| | | | llvm-svn: 97963
* Avoid using DIDescriptor.isNull().Devang Patel2010-03-081-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 Gupta2010-02-251-1/+1
| | | | llvm-svn: 97108
* Fix "the the" and similar typos.Dan Gohman2010-02-101-1/+1
| | | | llvm-svn: 95781
* Replace DebugLocTuple with DILocation.Devang Patel2010-01-161-2/+3
| | | | llvm-svn: 93630
* Avoid some possibly unsafe uses of StringRef::data().Benjamin Kramer2009-11-251-4/+2
| | | | llvm-svn: 89873
* Use StringRef (again) in DebugInfo interface.Devang Patel2009-11-251-4/+4
| | | | llvm-svn: 89866
* revert 88761 as it fails builds.Sanjiv Gupta2009-11-141-11/+5
| | | | llvm-svn: 88762
* Fix debug info crashes for PIC16.Sanjiv Gupta2009-11-141-5/+11
| | | | llvm-svn: 88761
* Re-apply 84180 with the fixed test case.Sanjiv Gupta2009-10-151-0/+1
| | | | llvm-svn: 84195
* Revert "Complete Rewrite of AsmPrinter, TargetObjectFile based on newDaniel Dunbar2009-10-151-1/+0
| | | | | | PIC16Section class", it breaks globals.ll. llvm-svn: 84184
* Complete Rewrite of AsmPrinter, TargetObjectFile based on new PIC16Section classSanjiv Gupta2009-10-151-0/+1
| | | | | | derived from MCSection. llvm-svn: 84180
* Few changes to comply with new DebugInfo Metadata representation.Sanjiv Gupta2009-10-151-4/+5
| | | | llvm-svn: 84179
* s/DebugLoc.CompileUnit/DebugLoc.Scope/gDevang Patel2009-10-131-1/+1
| | | | | | s/DebugLoc.InlinedLoc/DebugLoc.InlinedAtLoc/g llvm-svn: 84054
* Remove std::string uses from DebugInfo interface.Devang Patel2009-09-291-10/+7
| | | | llvm-svn: 83083
* Simplify isDerivedType() and other predicate interface.Devang Patel2009-08-311-3/+3
| | | | llvm-svn: 80602
* Reapply 79977.Devang Patel2009-08-281-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 Patel2009-08-261-12/+13
| | | | llvm-svn: 80073
* Update DebugInfo interface to use metadata, instead of special named ↵Devang Patel2009-08-251-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 Lattner2009-08-221-1/+1
| | | | llvm-svn: 79777
* revert 79764, my dependencies failed me again.Chris Lattner2009-08-221-0/+1
| | | | llvm-svn: 79767
* Revert a few changes that were done in 78603.Sanjiv Gupta2009-08-151-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 Patel2009-08-101-43/+47
| | | | | | PIC16 developers, please verify. llvm-svn: 78603
* Minor fixes to avoid using invalid debugloc.Sanjiv Gupta2009-08-071-5/+9
| | | | llvm-svn: 78383
* Use DebugInfoFinderDevang Patel2009-08-061-15/+9
| | | | llvm-svn: 78334
* Switch to getNameStr().Daniel Dunbar2009-07-241-2/+2
| | | | llvm-svn: 76962
* Switch some clients to Value::getName(), and other getName() userDaniel Dunbar2009-07-221-1/+1
| | | | | | | simplification. - NFC llvm-svn: 76789
* Have asm printers use formatted_raw_ostream directly to avoid aDavid Greene2009-07-141-1/+1
| | | | | | dynamic_cast<>. llvm-svn: 75670
* 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
* Fix may-be-used-uninitialized warning.Daniel Dunbar2009-06-261-1/+1
| | | | llvm-svn: 74253
* mv CodeGen/DebugLoc.h Support/DebugLoc.hDevang Patel2009-06-191-1/+1
| | | | llvm-svn: 73786
* Code Restructuring. No functionality change.Sanjiv Gupta2009-06-161-146/+300
| | | | llvm-svn: 73481
* The subprogram descriptor for a function may be missing (llvm-ld linking two ↵Sanjiv Gupta2009-06-131-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 Gupta2009-06-031-2/+24
| | | | | | after linking in several .bc files. llvm-svn: 72781
* Emit debug info for locals with proper scope.Sanjiv Gupta2009-05-281-0/+132
| | | | llvm-svn: 72531
* Emit debug information for globals (which include automatic variables as ↵Sanjiv Gupta2009-05-221-0/+138
well because on PIC16 they are emitted as globals by the frontend). llvm-svn: 72262
OpenPOWER on IntegriCloud