[all-commits] [llvm/llvm-project] d5ec49: [mlir] Initialize DefaultTimingManager::out. (#87522)
Chenguang Wang via All-commits
all-commits at lists.llvm.org
Wed Apr 3 10:57:18 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d5ec49ff3dc26cdbe350e9cafc6b8e331fff7911
https://github.com/llvm/llvm-project/commit/d5ec49ff3dc26cdbe350e9cafc6b8e331fff7911
Author: Chenguang Wang <w3cing at gmail.com>
Date: 2024-04-03 (Wed, 03 Apr 2024)
Changed paths:
M mlir/lib/Support/Timing.cpp
Log Message:
-----------
[mlir] Initialize DefaultTimingManager::out. (#87522)
`DefaultTimingManager::clear()` uses `out` to initialize `TimerImpl`,
but the `out` is `nullptr` by default. This means if
`DefaultTimingManager::setOutput()` is never called,
`DefaultTimingManager` destructor may generate SIGSEGV.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list