diff options
author | Michael Buch <michaelbuch12@gmail.com> | 2024-08-09 09:43:08 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-09 09:43:08 +0100 |
commit | 3fffa6d486ecedaf639927a448701df9fdc19a34 (patch) | |
tree | 6dccda139f20f24f8e60b57e91cc25f970fd0847 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 4bb139622ee318571cb2ef6649ff1766051f0e84 (diff) | |
download | llvm-3fffa6d486ecedaf639927a448701df9fdc19a34.zip llvm-3fffa6d486ecedaf639927a448701df9fdc19a34.tar.gz llvm-3fffa6d486ecedaf639927a448701df9fdc19a34.tar.bz2 |
Reland "[lldb][ClangExpressionParser] Set BuiltinHeadersInSystemModules depending on SDK version (#102309)" (#102497)
Depends on https://github.com/llvm/llvm-project/pull/102488
This reverts commit
https://github.com/llvm/llvm-project/commit/cf56e265e4b74799aee72a04b634fcc261078084.
The original change was reverted because it was causing linker failures
in the unit-tests:
```
Undefined symbols for architecture arm64:
"lldb_private::PlatformDarwin::GetSDKPathFromDebugInfo(lldb_private::Module&)",
referenced from:
lldb_private::ClangExpressionParser::ClangExpressionParser(lldb_private::ExecutionContextScope*,
lldb_private::Expression&, bool,
std::__1::vector<std::__1::basic_string<char,
std::__1::char_traits<char>, std::__1::allocator<char>>,
std::__1::allocator<std::__1::basic_string<char,
std::__1::char_traits<char>, std::__1::allocator<char>>>>,
std::__1::basic_string<char, std::__1::char_traits<char>,
std::__1::allocator<char>>) in
liblldbPluginExpressionParserClang.a[11](ClangExpressionParser.cpp.o)
ld: symbol(s) not found for architecture arm64
c++: error: linker command failed with exit code 1 (use -v to see
invocation)
```
The relanded version differs only in the fact that we now use the
generic `Platform` abstraction to get to `GetSDKPathFromDebugInfo`.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions