[all-commits] [llvm/llvm-project] ea1db3: [CodeGen] Assign locations to calls to special str...
Vedant Kumar via All-commits
all-commits at lists.llvm.org
Mon Nov 18 15:08:09 PST 2019
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: ea1db31d20a74e5025a86b0df49163d5bfecb67b
https://github.com/llvm/llvm-project/commit/ea1db31d20a74e5025a86b0df49163d5bfecb67b
Author: Vedant Kumar <vsk at apple.com>
Date: 2019-11-18 (Mon, 18 Nov 2019)
Changed paths:
M clang/lib/CodeGen/CGNonTrivialStruct.cpp
M clang/test/CodeGenObjC/nontrivial-c-struct-exception.m
Log Message:
-----------
[CodeGen] Assign locations to calls to special struct helpers
Assign artificial locations to calls to special struct-related helper
functions.
Such calls may not inherit a location if emitted within FinishFunction,
at which point the lexical scope stack may be empty, causing CGDebugInfo
to report the current DebugLoc as empty.
Fixes an IR verifier complaint about a call to '__destructor_8_s0' not
having a !dbg location attached.
rdar://57293361
More information about the All-commits
mailing list