[llvm-bugs] [Bug 52009] New: Regression in handling COMPILER_PATH in LLVM13

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Sep 29 02:22:40 PDT 2021


https://bugs.llvm.org/show_bug.cgi?id=52009

            Bug ID: 52009
           Summary: Regression in handling COMPILER_PATH in LLVM13
           Product: clang
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
          Assignee: unassignedclangbugs at nondot.org
          Reporter: pawel.osmialowski at foss.arm.com
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org,
                    neeilans at live.com, richard-llvm at metafoo.co.uk

After this commit: https://reviews.llvm.org/D97993 COMPILER_PATH environment
variable is not taken into account anymore. Apparently, two things were handled
by the same mechanism. Removing it for one thing, removed it for both.

The following lines (that aforementioned patch removes) are critical to
propagate COMPILER_PATH information:

  // Compute the set of prefixes for our search.
  SmallVector<std::string, 8> Prefixes(D.PrefixDirs.begin(),
                                       D.PrefixDirs.end());

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20210929/8dcbbf85/attachment-0001.html>


More information about the llvm-bugs mailing list