[all-commits] [llvm/llvm-project] dda3c1: [flang] Fix `LoweringBridge::validModule`
Andrzej WarzyĆski via All-commits
all-commits at lists.llvm.org
Wed Feb 16 02:57:54 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: dda3c14fd7db8fc2f9ef2baee09b44476ce0d56c
https://github.com/llvm/llvm-project/commit/dda3c14fd7db8fc2f9ef2baee09b44476ce0d56c
Author: Andrzej Warzynski <andrzej.warzynski at arm.com>
Date: 2022-02-16 (Wed, 16 Feb 2022)
Changed paths:
M flang/include/flang/Lower/Bridge.h
Log Message:
-----------
[flang] Fix `LoweringBridge::validModule`
This patch updates `validModule` not to use `getModule`. `getModule`
will dereference `module`, but that will lead to a seg-fault if `module`
is a `nullptr`.
Differential Revision: https://reviews.llvm.org/D119705
More information about the All-commits
mailing list