[all-commits] [llvm/llvm-project] 9d5e95: Re-land "[lldb] Upstream support for Foundation co...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Fri Aug 6 17:29:14 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9d5e95d094ffc1a49aa4c9d379cec7c2b60fd3f2
      https://github.com/llvm/llvm-project/commit/9d5e95d094ffc1a49aa4c9d379cec7c2b60fd3f2
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2021-08-06 (Fri, 06 Aug 2021)

  Changed paths:
    M lldb/source/Plugins/Language/ObjC/Cocoa.cpp
    M lldb/source/Plugins/Language/ObjC/NSArray.cpp
    M lldb/source/Plugins/Language/ObjC/NSDictionary.cpp
    M lldb/source/Plugins/Language/ObjC/ObjCLanguage.cpp
    M lldb/test/API/functionalities/data-formatter/data-formatter-objc/ObjCDataFormatterTestCase.py
    M lldb/test/API/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjCNSBundle.py
    M lldb/test/API/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjCNSContainer.py
    M lldb/test/API/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjCNSData.py
    M lldb/test/API/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjCNSDate.py
    M lldb/test/API/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjCNSError.py
    A lldb/test/API/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjCNSNumber.py
    M lldb/test/API/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjCNSURL.py
    M lldb/test/API/functionalities/data-formatter/data-formatter-objc/TestDataFormatterObjNSException.py
    M lldb/test/API/functionalities/data-formatter/data-formatter-objc/main.m
    M lldb/test/API/functionalities/data-formatter/nsdictionarysynth/TestNSDictionarySynthetic.py
    M lldb/test/API/functionalities/data-formatter/nssetsynth/TestNSSetSynthetic.py
    M lldb/test/API/functionalities/data-formatter/poarray/TestPrintObjectArray.py
    M lldb/test/API/lang/objc/orderedset/TestOrderedSet.py
    M lldb/test/API/lang/objc/single-entry-dictionary/TestObjCSingleEntryDictionary.py

  Log Message:
  -----------
  Re-land "[lldb] Upstream support for Foundation constant classes"

Upstream support for NSConstantArray, NSConstantIntegerNumber,
NSConstant{Float,Double}Number and NSConstantDictionary.

We would've upstreamed this earlier but testing it requires
-fno-constant-nsnumber-literals, -fno-constant-nsarray-literals and
-fno-constant-nsdictionary-literals which haven't been upstreamed yet.
As a temporary workaround use the system compiler (xcrun clang) for the
constant variant of the tests.

I'm just upstreaming this. The patch and the tests were all authored by
Fred Riss.

Differential revision: https://reviews.llvm.org/D107660




More information about the All-commits mailing list