[all-commits] [llvm/llvm-project] ba77c1: [libc] Add more test cases to the argument list tests

Joseph Huber via All-commits all-commits at lists.llvm.org
Mon Aug 28 10:15:46 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ba77c160aada87af42d2ec41b0d1ab0ae242cb80
      https://github.com/llvm/llvm-project/commit/ba77c160aada87af42d2ec41b0d1ab0ae242cb80
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2023-08-28 (Mon, 28 Aug 2023)

  Changed paths:
    M libc/src/__support/macros/config.h
    M libc/test/src/__support/arg_list_test.cpp

  Log Message:
  -----------
  [libc] Add more test cases to the argument list tests

This patch adds some extra cases to the existing argument list test in
`libc`, mainly dealing with arguments of varying sizes and primitive
types.

The purpose of this patch is to provide a wider test area when we begin
to provide varargs support on the GPU as there is no other runtime code
that really tests it. So, running these tests more exhaustively in the
GPU libc project will serve as the runtime tests for GPU vararg support in
D158246.

Reviewed By: sivachandra

Differential Revision: https://reviews.llvm.org/D158867




More information about the All-commits mailing list