https://bugs.llvm.org/show_bug.cgi?id=44284
Bug ID: 44284
Summary: [regression] const llvm::MCExpr
*llvm::MCSymbol::getVariableValue(bool) const:
Assertion `isVariable() && "Invalid accessor!"'
failed.
Product: libraries
Version: trunk
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: Backend: PowerPC
Assignee: unassignedb...@nondot.org
Reporter: arichardson....@gmail.com
CC: llvm-bugs@lists.llvm.org, nemanja.i....@gmail.com
It appears this bug was introduced by
https://github.com/llvm/llvm-project/commit/cd36a2857ea172d70a7a841f4b622a5f408944a9
[PPC64] Update LocalEntry from assigned symbols
The following reduced test case triggers the assertion:
// RUN: %clang_cc1 -triple=ppc64 -emit-obj %s
__asm__(".equ err, _err");
void err() {};
This was originally reported by Nathaniel Wesley Filardo as
https://github.com/CTSRD-CHERI/llvm-project/issues/350
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs