Ignore:
Timestamp:
Jan 15, 2019, 10:57:49 AM (6 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, no_list, persistent-indexer, pthread-emulation, qualifiedEnum
Children:
42506e1, c9aba81
Parents:
fd73248
Message:

Apparent fix for debug resolution problem with exceptions

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/working/exception/impl/exception.c

    rfd73248 r3e06da2  
    382382        "       .text\n"                                                        // TABLE footer
    383383        "       .size   __try_terminate, .-__try_terminate\n"
     384);
     385
     386// Somehow this piece of helps with the resolution of debug symbols.
     387__attribute__((unused)) static const int dummy = 0;
     388asm (
    384389        "       .hidden CFA.ref.__gcfa_personality_v0\n"        // Declare an new hidden symbol
    385390        "       .weak   CFA.ref.__gcfa_personality_v0\n"
Note: See TracChangeset for help on using the changeset viewer.