aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/SourceManager.cpp
diff options
context:
space:
mode:
authorSahilPatidar <patidarsahil2001@gmail.com>2025-07-07 11:38:14 +0530
committerGitHub <noreply@github.com>2025-07-07 11:38:14 +0530
commitd733c8e5c584cfaf6c8650d3a40328c7bcfbe07c (patch)
treef5fa6114230367ec91b7ba9025e7168247c1fdb1 /clang/lib/Basic/SourceManager.cpp
parent91cc33f3219c4b3e219430340f6b2820f0a419f3 (diff)
downloadllvm-d733c8e5c584cfaf6c8650d3a40328c7bcfbe07c.zip
llvm-d733c8e5c584cfaf6c8650d3a40328c7bcfbe07c.tar.gz
llvm-d733c8e5c584cfaf6c8650d3a40328c7bcfbe07c.tar.bz2
[Orc] Fix error handling in `ORCPlatformSupport::initialize` (#144637)
Previously, `result` was checked before handling the `Error` returned by `callSPSWrapper`. If `Error` was `success` but `result` indicated failure, the original `Error` was silently dropped, triggering an assertion failure for unhandled `Error`. This patch ensures the `Error` is checked and returned before inspecting `result`, preventing assertion failures. Co-authored-by: Anutosh Bhat <andersonbhat491@gmail.com>
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions