Changeset 9968


Ignore:
Timestamp:
Jul 10, 2008, 9:27:48 AM (11 years ago)
Author:
gb
Message:

Change how line number info is generated, mostly to deal with
macros on Darwin.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/working-0711/ccl/lisp-kernel/m4macros.m4

    r7828 r9968  
    3232undefine([POWEROPENABI])
    3333undefine([rTOC])
     34
    3435
    3536ifdef([DARWIN],[define([SYSstabs],[BSDstabs])
     
    8384
    8485define([_emit_BSD_source_line_stab],[
     86ifdef([X86],[
     87# __line__ "__file__" 1],[
    8588        .stabd 68,0,$1
    86 ])
     89])])
    8790
    8891
     
    110113define([emit_source_line_stab],[
    111114        ifelse(eval(SYSstabs),
    112                eval(BSDstabs),
     115             eval(BSDstabs),
    113116              [_emit_BSD_source_line_stab($1)],
    114117              eval(SYSstabs),
     
    121124
    122125
     126
    123127/*  Assemble a reference to the high half of a 32-bit constant,  */
    124128/*  possibly adjusted for sign-extension of thw low half.  */
     
    189193])
    190194        .set func_start,$1
    191        
    192 ])
     195# __line__ "__file__" 1 ])
    193196
    194197
     
    279282
    280283define([__],[emit_source_line_stab(__line__)
    281 # __line__
    282284        $@
    283285        ])
Note: See TracChangeset for help on using the changeset viewer.