commit | 22f441afbac90b2dc1e4315a7a6c50dd034af2db | [log] [tgz] |
---|---|---|
author | Chad Rosier <mcrosier@apple.com> | Wed Oct 24 22:21:50 2012 +0000 |
committer | Chad Rosier <mcrosier@apple.com> | Wed Oct 24 22:21:50 2012 +0000 |
tree | d553338b6c8fe00e13c3cefc9bc631971d2151e9 | |
parent | 4284e1795dd47d9638bb4fbd455ddb7e2e710e80 [diff] |
[ms-inline asm] Add support for parsing the '.' operator. Given, [register].field The operator returns the value at the location pointed to by register plus the offset of field within its structure or union. This patch only handles immediate fields (i.e., [eax].4). The original displacement has to be a MCConstantExpr as well. Part of rdar://12470415 and rdar://12470514 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166632 91177308-0d34-0410-b5e6-96231b3b80d8