aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-02-11 07:06:31 +0000
committerChris Lattner <sabre@nondot.org>2010-02-11 07:06:31 +0000
commit6bb2463f855b0737acce40432c7d98ea517c0b7d (patch)
tree7aae20b2bf32bb2973c711bebcc4c839339b64df /clang/lib/Frontend/CompilerInvocation.cpp
parent167842f90bf277dcaa491ee9926cbc32e9b6bb53 (diff)
downloadllvm-6bb2463f855b0737acce40432c7d98ea517c0b7d.zip
llvm-6bb2463f855b0737acce40432c7d98ea517c0b7d.tar.gz
llvm-6bb2463f855b0737acce40432c7d98ea517c0b7d.tar.bz2
Add and commonize encoder support for all immediates.
Stub out some dummy fixups to make things work. We can now emit fixups like this: subl $20, %esp ## encoding: [0x83,0xec,A] ## fixup A - offset: 2, value: 20, kind: fixup_1byte_imm Emitting $20 as a single-byte fixup to be later resolved by the assembler is ridiculous of course (vs just emitting the byte) but this is a failure of the matcher, which should be producing an imm of 20, not an MCExpr of 20. llvm-svn: 95860
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions