diff options
author | Michael Buch <michaelbuch12@gmail.com> | 2023-11-13 06:33:02 +0000 |
---|---|---|
committer | Michael Buch <michaelbuch12@gmail.com> | 2023-11-13 06:38:57 +0000 |
commit | f86770aa073ac9c17d9ccb6409254e879dca2de6 (patch) | |
tree | 5a6a47110a69f215a57486046b3cb0990c9d4cea /llvm/unittests/Support/CommandLineTest.cpp | |
parent | 563720c3bed42a9ce042ba3f334793b5b4373acf (diff) | |
download | llvm-f86770aa073ac9c17d9ccb6409254e879dca2de6.zip llvm-f86770aa073ac9c17d9ccb6409254e879dca2de6.tar.gz llvm-f86770aa073ac9c17d9ccb6409254e879dca2de6.tar.bz2 |
Reland "[lldb][DWARFASTParserClang] Make MemberAttributes const when parsing member DIEs (#71921)"
Changed the recently added `FindConstantOnVariableDefinition` to
not rely on MemberAttributes being non-const.
Original commit message:
"""
This patch removes the Objective-C accessibility workaround added in
https://github.com/llvm/llvm-project/commit/5a477cfd90a8a12510518973fa450ae67372f199
(rdar://8492646). This allows us to make the local `MemberAttributes`
variable immutable, which is useful for some other work around this
function I was planning on doing.
We don't need the workaround anymore since compiler-support for giving
debuggers access to private ivars was done couple of years later in
https://github.com/llvm/llvm-project/commit/d6cb4a858db0592f6f946fd99a10a9dfcbea6ee9
(rdar://10997647).
**Testing**
* Test-suite runs cleanly
"""
Diffstat (limited to 'llvm/unittests/Support/CommandLineTest.cpp')
0 files changed, 0 insertions, 0 deletions