[llvm] [llubi] Implements common library functions (PR #190147)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 6 09:33:22 PDT 2026
================
@@ -257,11 +286,13 @@ class Context {
/// initialization).
bool initGlobalValues();
/// Execute the function \p F with arguments \p Args, and store the return
- /// value in \p RetVal if the function is not void.
- /// Returns true if the function executed successfully. False indicates an
- /// error occurred during execution.
+ /// value in \p RetVal if the function is not void. The exit information is
+ /// stored in \p ExitInfo.
+ /// Returns true if the function executed successfully without calls to
+ /// exit()/abort()/terminate(). False indicates an error occurred during
+ /// execution.
----------------
nikic wrote:
Hm, does it make sense to have both the bool and ExitInfo here? Can we instead return ProgramExitInfo?
https://github.com/llvm/llvm-project/pull/190147
More information about the llvm-commits
mailing list