[PATCH] D108286: [clang][Driver][Linux] fix regression issue when define LIBCXX_LIBDIR_SUFFIX=64

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 18 09:21:39 PDT 2021


MaskRay added inline comments.


================
Comment at: clang/lib/Driver/ToolChains/Linux.cpp:307
+  if (StringRef(D.Dir).startswith(SysRoot)) {
     addPathIfExists(D, D.Dir + "/../lib", Paths);
+    addPathIfExists(D, D.Dir + "/../" + OSLibDir, Paths);
----------------
Is `D.Dir + "/../lib"` still needed?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D108286/new/

https://reviews.llvm.org/D108286



More information about the cfe-commits mailing list