Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Load/stores with a displacement crash #19

Open
phire opened this issue Mar 1, 2014 · 0 comments
Open

Load/stores with a displacement crash #19

phire opened this issue Mar 1, 2014 · 0 comments

Comments

@phire
Copy link
Owner

phire commented Mar 1, 2014

phire@nirrit:~/projects/llvm/build$ echo "st r0, (r3+sp)" | bin/llvm-mc -arch=videocore  -show-encoding
    .text
llvm-mc: /home/phire/projects/llvm/llvm32/lib/Target/Videocore/MCTargetDesc/VideocoreMCCodeEmitter.cpp:134: unsigned int {anonymous}::VideocoreMCCodeEmitter::getMachineOpValue(const llvm::MCInst&, const llvm::MCOperand&, llvm::SmallVectorImpl<llvm::MCFixup>&) const: Assertion `Kind == MCExpr::SymbolRef' failed.
0  llvm-mc         0x000000000060c21d
1  llvm-mc         0x000000000060c49a
2  llvm-mc         0x000000000060bf13
3  libpthread.so.0 0x00007fd48e807870
4  libc.so.6       0x00007fd48da50369 gsignal + 57
5  libc.so.6       0x00007fd48da51768 abort + 328
6  libc.so.6       0x00007fd48da49456
7  libc.so.6       0x00007fd48da49502
8  llvm-mc         0x00000000004cb8a2
9  llvm-mc         0x00000000004cbe15
10 llvm-mc         0x00000000004cb661
11 llvm-mc         0x000000000055ebf4
12 llvm-mc         0x000000000055f77d
13 llvm-mc         0x0000000000421633
14 llvm-mc         0x00000000005129f7
15 llvm-mc         0x000000000050ea91
16 llvm-mc         0x000000000040c455
17 llvm-mc         0x000000000040d138
18 libc.so.6       0x00007fd48da3cb05 __libc_start_main + 245
19 llvm-mc         0x000000000040b6a9
Stack dump:
0.  Program arguments: bin/llvm-mc -arch=videocore -show-encoding 
Aborted
@phire phire added this to the Assembler/Disassembler milestone Mar 1, 2014
@phire phire added the bug label Mar 1, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant