summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/DwarfWriter.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Add explicit keywords and remove spurious trailing semicolons.Dan Gohman2007-08-271-9/+10
| | | | llvm-svn: 41482
* The personality function might need to be declared as:Bill Wendling2007-08-251-5/+18
| | | | | | | | | .set Lset0,___gxx_personality_v0-. .long Lset0 on some targets. Make it so! llvm-svn: 41385
* Fix minor doxygen nits.Reid Spencer2007-08-051-3/+3
| | | | llvm-svn: 40854
* Minor cleanup:Anton Korobeynikov2007-07-251-1/+1
| | | | | | | - Split EH and debug infiormation - Make DwarfWriter more verbose in some cases llvm-svn: 40481
* Fix some uses of dyn_cast to be uses of cast.Dan Gohman2007-07-231-1/+1
| | | | llvm-svn: 40443
* The type ids making up a filter are unsigned, andDuncan Sands2007-07-121-2/+2
| | | | | | | should be output as unsigned values. Checked against gcc. llvm-svn: 39775
* Indexes into the list of filter ids cannot be outputDuncan Sands2007-07-061-27/+47
| | | | | | | | directly: they need to be turned into byte offsets (often the same, but may not be if there are many type infos). llvm-svn: 37942
* Use more realistically sized vectors. Reserve capacity if we know in advanceDuncan Sands2007-06-081-4/+7
| | | | | | how much will be used. llvm-svn: 37515
* Fold the exception actions table harder: if two typeid lists start theDuncan Sands2007-06-061-57/+69
| | | | | | same, only output one copy of the common part. llvm-svn: 37470
* Integrate exception filter support and exception catch support. ThisDuncan Sands2007-06-021-53/+21
| | | | | | | | simplifies the code in DwarfWriter, allows for multiple filters and makes it trivial to specify filters accompanied by cleanups or catch-all specifications (see next patch). What a deal! Patch blessed by Anton. llvm-svn: 37398
* Mark all calls as "could throw", when exceptions are enabled. Emit necessary ↵Anton Korobeynikov2007-05-231-1/+1
| | | | | | LP info too. This fixes PR1439 llvm-svn: 37311
* Silence a warning.Owen Anderson2007-05-221-1/+1
| | | | llvm-svn: 37288
* Only emit one entry in the exception action table for each action, even ifDuncan Sands2007-05-211-65/+116
| | | | | | it occurs for multiple landing pads. llvm-svn: 37267
* Output exception call-sites in address order, as required by the unwindingDuncan Sands2007-05-161-10/+54
| | | | | | runtime. llvm-svn: 37104
* The index into the actions table is a ULEB128 not a SLEB128.Duncan Sands2007-05-151-1/+1
| | | | llvm-svn: 37084
* Emit function debug frames in one atom. This will prevent us from generating ↵Anton Korobeynikov2007-05-131-27/+41
| | | | | | | | incorrect assembler in case of both debug information & exception information presented. llvm-svn: 37019
* Emit multiple common EH frames for multiple (including blank) personalityAnton Korobeynikov2007-05-131-21/+21
| | | | | | | | functions. This partly fixes PR1414: now we're restricted only to one personality function per eh frame, not per module. Further work on "multiple personalities" topic needs representative example. llvm-svn: 37018
* More DWARF-related things cleanup:Anton Korobeynikov2007-05-121-48/+63
| | | | | | | | | | 1. Fix PR1380 2. Apply Duncan's patch from PR1410 3. Insert workaround for "one personality function per module" as noted in PR1414 4. Emit correct debug frames for x86/linux. This partly fixes DebugInfo/2006-11-06-StackTrace.cpp: stack trace is shown correctly, but arguments for function on top of stack are displayed incorrectly. llvm-svn: 37015
* Perform correct actions numbers/sizes computationAnton Korobeynikov2007-05-111-5/+3
| | | | llvm-svn: 36988
* Fix action No calculation in multiple-invoke-one-LP modeAnton Korobeynikov2007-05-111-31/+31
| | | | llvm-svn: 36987
* Allow multiple invokes per landing pad. This (probably) fixes PR1410.Anton Korobeynikov2007-05-101-49/+54
| | | | llvm-svn: 36977
* Later computations assume we are aligned at this point.Duncan Sands2007-05-101-2/+3
| | | | llvm-svn: 36975
* TypeIds are indexed by j, not iAnton Korobeynikov2007-05-101-1/+1
| | | | llvm-svn: 36974
* Use the personality function that was registered with MMI rather thanDuncan Sands2007-05-051-9/+2
| | | | | | hardwiring in the C++ one. llvm-svn: 36789
* Spelling fix.Duncan Sands2007-05-051-1/+1
| | | | llvm-svn: 36781
* Emit sections/directives in the proper order. This fixes PR1376. Also,Anton Korobeynikov2007-05-051-4/+4
| | | | | | some small cleanup was made. llvm-svn: 36780
* Fix couple of bugs connected with eh info:Anton Korobeynikov2007-05-011-15/+27
| | | | | | | 1. Correct output offsets on Linux 2. Fix "style" of personality function. It shouldn't be indirect. llvm-svn: 36633
* Cleanup: make SetCounter an instance variableAnton Korobeynikov2007-03-071-28/+26
| | | | llvm-svn: 35007
* Fix DWARF debugging information on x86/Linux and (hopefully)Anton Korobeynikov2007-03-071-17/+61
| | | | | | Mingw32/Cygwin targets. This fixes PR978 llvm-svn: 35000
* Emit eh filter info.Jim Laskey2007-03-011-18/+66
| | | | llvm-svn: 34805
* Handle mix of personalities.Jim Laskey2007-02-281-30/+37
| | | | llvm-svn: 34752
* Missing end of abbreviations - correctionJim Laskey2007-02-221-1/+1
| | | | llvm-svn: 34501
* Missing end of abbreviations.Jim Laskey2007-02-221-0/+3
| | | | llvm-svn: 34500
* Exception handling support.Jim Laskey2007-02-211-91/+310
| | | | llvm-svn: 34479
* Slip upJim Laskey2007-02-011-1/+1
| | | | llvm-svn: 33758
* Emit labels as label_n and not as debug_nJim Laskey2007-02-011-8/+8
| | | | llvm-svn: 33757
* Support for non-landing pad exception handling.Jim Laskey2007-02-011-171/+267
| | | | llvm-svn: 33755
* Out of line function.Jim Laskey2007-01-291-0/+1
| | | | llvm-svn: 33641
* Only gather frame info if debug or eh.Jim Laskey2007-01-291-1/+0
| | | | llvm-svn: 33639
* Flag to control exception handling.Jim Laskey2007-01-291-2/+3
| | | | llvm-svn: 33628
* Disable zero landing pads for now.Jim Laskey2007-01-291-1/+2
| | | | llvm-svn: 33625
* Landing pad-less eh for PPC.Jim Laskey2007-01-291-114/+198
| | | | llvm-svn: 33622
* Change the MachineDebugInfo to MachineModuleInfo to better reflect usageJim Laskey2007-01-261-30/+30
| | | | | | for debugging and exception handling. llvm-svn: 33550
* Clarify some constants.Jim Laskey2007-01-261-4/+5
| | | | llvm-svn: 33536
* 1. Remove dwarf-verbose option (now asm-verbose.)Jim Laskey2007-01-251-36/+24
| | | | | | 2. Clean up end of lines. llvm-svn: 33499
* Migrate print routines to asm to be shared by exception handling.Jim Laskey2007-01-251-341/+187
| | | | llvm-svn: 33498
* Repair debug frames as a prelude to eh_frames. Switched to using MachineMovesJim Laskey2007-01-241-15/+28
| | | | | | by value so that clean up is less confusing (these vectors tend to be small.) llvm-svn: 33488
* Use asm printer to emit alignmentJim Laskey2007-01-241-8/+2
| | | | llvm-svn: 33485
* Need to handle static declarations properly.Jim Laskey2007-01-081-6/+9
| | | | llvm-svn: 33022
* Silence warning.Jim Laskey2007-01-031-1/+1
| | | | llvm-svn: 32834
OpenPOWER on IntegriCloud