diff options
| author | Jim Grosbach <grosbach@apple.com> | 2012-01-17 22:14:39 +0000 |
|---|---|---|
| committer | Jim Grosbach <grosbach@apple.com> | 2012-01-17 22:14:39 +0000 |
| commit | 4045507fea848cfe416d5741dbb5965bb3f3212e (patch) | |
| tree | 95f2fe2445e6cd279ddda070da90fba6ad11529f /clang/lib/CodeGen/CodeGenModule.cpp | |
| parent | 65499b45f0ba4b3d9c32dd477869c359af4e5ab9 (diff) | |
| download | llvm-4045507fea848cfe416d5741dbb5965bb3f3212e.zip llvm-4045507fea848cfe416d5741dbb5965bb3f3212e.tar.gz llvm-4045507fea848cfe416d5741dbb5965bb3f3212e.tar.bz2 | |
MC tweak symbol difference resolution for non-local symbols.
When the non-local symbol in the expression is in the same fragment
as the second symbol, the assembler can still evaluate the expression
without needing a relocation.
For example, on ARM:
_foo:
ldr lr, (_foo - 4)
rdar://10348687
llvm-svn: 148341
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
