[all-commits] [llvm/llvm-project] 7f96ce: [clang-repl] Fix dynamic library test to avoid cst...

Anubhab Ghosh via All-commits all-commits at lists.llvm.org
Tue Apr 25 20:49:33 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7f96ce5e133be54891af177adbf8952d413e0f85
      https://github.com/llvm/llvm-project/commit/7f96ce5e133be54891af177adbf8952d413e0f85
  Author: Anubhab Ghosh <anubhabghosh.me at gmail.com>
  Date:   2023-04-26 (Wed, 26 Apr 2023)

  Changed paths:
    R clang/test/Interpreter/Inputs/dynamic-library-test.cpp
    A clang/test/Interpreter/Inputs/libdynamic-library-test.so
    M clang/test/Interpreter/dynamic-library.cpp

  Log Message:
  -----------
  [clang-repl] Fix dynamic library test to avoid cstdio and linker

Some platforms do not have a working linker present. The goal is to
only test the loading of a shared library in clang-repl. A precompiled
library is used instead.

The cstdio header may also not be present. We only need printf.

Related discussion in D141824

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




More information about the All-commits mailing list