[all-commits] [llvm/llvm-project] 57bf5c: [lldb] Add a test for user-defined objc_copyRealiz...

Raphael Isemann via All-commits all-commits at lists.llvm.org
Tue Aug 10 05:55:08 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 57bf5c86591a1ff664f99d47e9f6a03a280f7a02
      https://github.com/llvm/llvm-project/commit/57bf5c86591a1ff664f99d47e9f6a03a280f7a02
  Author: Raphael Isemann <teemperor at gmail.com>
  Date:   2021-08-10 (Tue, 10 Aug 2021)

  Changed paths:
    A lldb/test/API/lang/objc/conflicting-class-list-function-from-user/Makefile
    A lldb/test/API/lang/objc/conflicting-class-list-function-from-user/TestObjCClassListFunctionFromUser.py
    A lldb/test/API/lang/objc/conflicting-class-list-function-from-user/main.m

  Log Message:
  -----------
  [lldb] Add a test for user-defined objc_copyRealizedClassList_nolock

LLDB evaluates some utility expression to update the Objective-C class list that
ends up calling function such as `free` or `objc_copyRealizedClassList_nolock`.
This adds a test that just tries to define our own bogus version of
`objc_copyRealizedClassList_nolock`. It just tests that LLDB doesn't crash as we
currently don't have a way to tell LLDB to look for the function in a specific
library.

Reviewed By: JDevlieghere

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




More information about the All-commits mailing list