Changeset 10cfad9 for src/Common/Heap.cc


Ignore:
Timestamp:
May 7, 2018, 5:22:37 PM (4 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
aaron-thesis, arm-eh, cleanup-dtors, deferred_resn, demangler, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, 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.