Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Change "if(...) xbt_die(...)" to "xbt_assert(...)".
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Wed, 31 Mar 2021 09:58:57 +0000 (11:58 +0200)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Fri, 2 Apr 2021 08:39:10 +0000 (10:39 +0200)
commit49b53eb334bc6f19b530603201d00bcc312bfd29
tree4645bf4572c56183e3abd7f93b937c7d4f5be53b
parent8329b8bddaa6c8ba188f1e90678d02464b4369c6
Change "if(...) xbt_die(...)" to "xbt_assert(...)".

Some of them could certainly be improved to report the error to the user code,
for example with a proper exception, but it's another work.
49 files changed:
doc/doxygen/uhood_switch.doc
examples/c/dht-pastry/dht-pastry.c
examples/cpp/dht-chord/s4u-dht-chord.cpp
examples/cpp/maestro-set/s4u-maestro-set.cpp
examples/deprecated/simdag/ptg-dotload/sd_ptg-dotload.c
include/simgrid/kernel/future.hpp
include/xbt/sysdep.h
src/bindings/java/jmsg_task.cpp
src/instr/instr_interface.cpp
src/instr/instr_platform.cpp
src/kernel/activity/CommImpl.cpp
src/kernel/activity/SynchroRaw.cpp
src/kernel/context/ContextSwapped.cpp
src/mc/ModelChecker.cpp
src/mc/checker/CommunicationDeterminismChecker.cpp
src/mc/checker/simgrid_mc.cpp
src/mc/inspect/LocationList.cpp
src/mc/inspect/mc_dwarf.cpp
src/mc/mc_config.cpp
src/mc/mc_record.cpp
src/mc/remote/AppSide.cpp
src/mc/remote/RemoteProcess.cpp
src/mc/sosp/PageStore.cpp
src/mc/sosp/Snapshot.cpp
src/plugins/file_system/s4u_FileSystem.cpp
src/s4u/s4u_Host.cpp
src/simdag/sd_daxloader.cpp
src/smpi/bindings/smpi_pmpi.cpp
src/smpi/colls/bcast/bcast-scatter-rdb-allgather.cpp
src/smpi/colls/smpi_coll.cpp
src/smpi/internals/smpi_bench.cpp
src/smpi/internals/smpi_global.cpp
src/smpi/internals/smpi_memory.cpp
src/smpi/internals/smpi_shared.cpp
src/smpi/internals/smpi_utils.cpp
src/smpi/mpi/smpi_file.cpp
src/smpi/mpi/smpi_request.cpp
src/smpi/mpi/smpi_win.cpp
src/surf/cpu_ti.cpp
src/surf/network_ns3.cpp
src/surf/surf_interface.cpp
src/surf/xml/surfxml_parseplatf.cpp
src/xbt/automaton/automatonparse_promela.c
src/xbt/config.cpp
src/xbt/string.cpp
src/xbt/xbt_log_appender_file.cpp
teshsuite/simdag/flatifier/flatifier.cpp
teshsuite/smpi/coll-allreduce-with-leaks/coll-allreduce-with-leaks.tesh
teshsuite/xbt/mmalloc/mmalloc_test.cpp