[Chapel Merge] Codegen line information as a 32 bit int

Branch: refs/heads/main
Revision: d1ddd6cd4968a4d0547a9fb240cba133105c86c5
Author: jabraham17
Link: Codegen line information as a 32 bit int by jabraham17 · Pull Request #29084 · chapel-lang/chapel · GitHub
Log Message:
Codegen line information as a 32 bit int (#29084)

Adjusts the compile to always codegen line information as a 32 bit int.

changed the compiler to generate _ln as a default sized int, which is
int(64). However, almost none of the runtime code was updated (still
using int) and was even wrong (using int32_t). In an offline discussion,
we determined the best way to fix this mismatch was to codegen line
numbers as 32 bit ints and update the runtime to always use in32_t
(instead of the generic int).

Previous PR: Fix the type of `ln`, which should be `int64_t` by jabraham17 · Pull Request #29072 · chapel-lang/chapel · GitHub

[Reviewed by @dlongnecke-cray]

Compare: Comparing 107dc05e8cffa1359baac4a419d386f3b0c067f9...006a0aa1bfbbd50cdc23d135ce58f1a229ea0e60 · chapel-lang/chapel · GitHub

Diff:
M compiler/AST/type.cpp
M compiler/codegen/cg-expr.cpp
M runtime/include/chpl-cache.h
M runtime/include/chpl-comm-callbacks.h
M runtime/include/chpl-comm-compiler-macros.h
M runtime/include/chpl-comm-internal.h
M runtime/include/chpl-comm-native-atomics.h
M runtime/include/chpl-comm-strd-xfer.h
M runtime/include/chpl-comm.h
M runtime/include/chpl-gen-includes.h
M runtime/include/chpl-gpu.h
M runtime/include/chpl-mem-consistency.h
M runtime/include/chpl-prginfo-data-macro.h
M runtime/include/chpl-tasks-callbacks-internal.h
M runtime/include/chpl-tasks-callbacks.h
M runtime/include/chpl-tasks.h
M runtime/include/chplcast.h
M runtime/include/chpltypes.h
M runtime/include/comm/ugni/chpl-comm-impl.h
M runtime/include/gpu/chpl-gpu-gen-common.h
M runtime/include/qio/qio_error.h
M runtime/src/arg.c
M runtime/src/chpl-cache.c
M runtime/src/chpl-comm.c
M runtime/src/chpl-gpu.c
M runtime/src/chpl-tasks-callbacks.c
M runtime/src/chplcast.c
M runtime/src/comm/gasnet/comm-gasnet-ex.c
M runtime/src/comm/none/comm-none.c
M runtime/src/comm/ofi/comm-ofi.c
M runtime/src/comm/ugni/comm-ugni.c
M runtime/src/tasks/fifo/tasks-fifo.c
M runtime/src/tasks/qthreads/tasks-qthreads.c
M runtime/src/topo/hwloc/topo-hwloc.c
https://github.com/chapel-lang/chapel/pull/29084.diff