[all-commits] [llvm/llvm-project] 5b1337: [DebugInfo] Avoid triggering global location asser...
Jack Andersen via All-commits
all-commits at lists.llvm.org
Tue Jan 4 12:18:03 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 5b1337184bfb12dd0ec9141765d57677438005b7
https://github.com/llvm/llvm-project/commit/5b1337184bfb12dd0ec9141765d57677438005b7
Author: Jack Andersen <jackoalan at gmail.com>
Date: 2022-01-04 (Tue, 04 Jan 2022)
Changed paths:
M llvm/lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
A llvm/test/DebugInfo/MSP430/global-var.ll
Log Message:
-----------
[DebugInfo] Avoid triggering global location assert for 2-byte pointer sizes.
D111404 moved a 4/8 byte check assert into a block taken by 2-byte platforms.
Since these platforms do not take the branches where the pointer size is used,
sink the assert accordingly.
Reviewed By: dblaikie
Differential Revision: https://reviews.llvm.org/D116480
More information about the All-commits
mailing list