[libc] [llvm] [clang] [clang-tools-extra] [flang] [compiler-rt] Apply kind code check on exitstat and cmdstat (PR #78286)

Yi Wu via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 23 09:07:53 PST 2024


yi-wu-arm wrote:

> Is there another patch that adds integer kind handling for these two arguments to the runtime implementation?

Thanks for mention the kind code in the runtime! I've added kind code check in runtime and provide test, an incorrect kind code would result in a `terminator.Crash` "exitstat/cmdstat must have an integer kind greater or equal to 4/2 but have: %d". The tests also test the terminator printout.

https://github.com/llvm/llvm-project/pull/78286


More information about the cfe-commits mailing list