aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorVy Nguyen <vyng@google.com>2025-04-28 13:16:07 -0400
committerGitHub <noreply@github.com>2025-04-28 13:16:07 -0400
commitc5f61908a75142491143c68fb09caacba8502ae2 (patch)
treea1fdaecf818f1212f10814c89fb01dc731568881 /clang/lib/Frontend/CompilerInvocation.cpp
parente44f7760fa6f9f2d70831a6e9bf9f8472d285f4d (diff)
downloadllvm-c5f61908a75142491143c68fb09caacba8502ae2.zip
llvm-c5f61908a75142491143c68fb09caacba8502ae2.tar.gz
llvm-c5f61908a75142491143c68fb09caacba8502ae2.tar.bz2
[lld-macho]Fix bug in finding "chained" re-exported libs. (#135241)
Details: When we have the following scenario: - lib_a re-exports lib_b - lib_b re-exports @rpath/lib_c + lib_b contains LC_RPATH Previously, lld-macho cannot find lib_c because it was attempting to resolve the '@rpath' from lib_b (which had no LC_RPATH defined). The change here is to also consider all the LC_RPATH rom lib_b when trying to find lib_c. Inspired by real-life example when linking with libXCTestSwiftSupport.dylib (which re-exports XCTest, which re-exports XCTestCore)
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions