Updated IRForTarget to change the way we generate
authorSean Callanan <scallanan@apple.com>
Tue, 14 Apr 2015 18:17:35 +0000 (18:17 +0000)
committerSean Callanan <scallanan@apple.com>
Tue, 14 Apr 2015 18:17:35 +0000 (18:17 +0000)
commit507b588a345adeeb74c4d6d520c6957ba3d35a7a
treefdd737cf27906bba39fcc19353b548c3382cde90
parent39fee0ae07bccdba5af67f3c7be5479914efc145
Updated IRForTarget to change the way we generate
relocations.  We used to do GEP on a pointer to
the result type, which is wrong.  We should be doing
GEP on a pointer to char, which allows us to offset
correctly.

This fixes the C modules testcase, so it's no longer
ExpectFail.

llvm-svn: 234918
lldb/source/Expression/IRForTarget.cpp
lldb/test/lang/c/modules/TestCModules.py