[all-commits] [llvm/llvm-project] 8fa2e9: [clang] Do not merge traps in functions annotated ...
Henrik G. Olsson via All-commits
all-commits at lists.llvm.org
Wed Nov 30 06:07:02 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8fa2e93538595e1ff973110cb3f301b65bc9d2eb
https://github.com/llvm/llvm-project/commit/8fa2e93538595e1ff973110cb3f301b65bc9d2eb
Author: Henrik G. Olsson <hnrklssn at gmail.com>
Date: 2022-11-30 (Wed, 30 Nov 2022)
Changed paths:
M clang/lib/CodeGen/CGExpr.cpp
M clang/test/CodeGen/ubsan-trap-debugloc.c
Log Message:
-----------
[clang] Do not merge traps in functions annotated optnone
This aligns the behaviour with that of disabling optimisations for the
translation unit entirely. Not merging the traps allows us to keep
separate debug information for each, improving the debugging experience
when finding the cause for a ubsan trap.
Differential Revision: https://reviews.llvm.org/D137714
More information about the All-commits
mailing list