Changeset 10cfad9


Ignore:
Timestamp:
May 7, 2018, 5:22:37 PM (7 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, with_gc
Children:
14a61b5
Parents:
b6d7f44
Message:

Fixed bad merge

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Common/Heap.cc

    rb6d7f44 r10cfad9  
    130130                                abort();
    131131                        }
    132 #endif
     132#endif // RTLD_NEXT
    133133                } // if
    134134
     
    144144                fptr = (generic_fptr_t)dlsym( library, symbol );
    145145#endif // _GNU_SOURCE
     146
     147                error = dlerror();
     148                if ( error ) {
     149                        std::cerr << "interpose_symbol : internal error, " << error << std::endl;
     150                        abort();
     151                }
     152
     153                return fptr;
     154        }
    146155
    147156        extern "C" {
Note: See TracChangeset for help on using the changeset viewer.