[all-commits] [llvm/llvm-project] b726a8: [C API] Add blockaddress getters to C API (#81382)

Benji Smith via All-commits all-commits at lists.llvm.org
Mon Feb 12 01:59:12 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b726a81947c40521e047385c5217933c18162187
      https://github.com/llvm/llvm-project/commit/b726a81947c40521e047385c5217933c18162187
  Author: Benji Smith <6193112+Benjins at users.noreply.github.com>
  Date:   2024-02-12 (Mon, 12 Feb 2024)

  Changed paths:
    M llvm/docs/ReleaseNotes.rst
    M llvm/include/llvm-c/Core.h
    M llvm/lib/IR/Core.cpp
    M llvm/unittests/IR/ConstantsTest.cpp

  Log Message:
  -----------
  [C API] Add blockaddress getters to C API (#81382)

This allows for accessing the function/basic block that a blockaddress
constant refers to

Due to the difficulties of fully supporting cloning BlockAddress values
in echo.cpp, tests are instead done using a unit test.

This previously was up for review at
https://github.com/llvm/llvm-project/pull/77390.




More information about the All-commits mailing list