summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorJeffrey Yasskin <jyasskin@google.com>2009-11-07 08:51:52 +0000
committerJeffrey Yasskin <jyasskin@google.com>2009-11-07 08:51:52 +0000
commitdb5f24ce77875f92e8fe71efbbc9a53e990a84a4 (patch)
tree502ae85fc91d86a010b6a139993f39a60b160dca /clang/lib/CodeGen/CodeGenModule.cpp
parentbd05185ef12881b1b55a9fdf262fc0e6ede7ccc6 (diff)
downloadbcm5719-llvm-db5f24ce77875f92e8fe71efbbc9a53e990a84a4.tar.gz
bcm5719-llvm-db5f24ce77875f92e8fe71efbbc9a53e990a84a4.zip
Make the need-stub variables accurate and consistent. In the case of
MachineRelocations, "stub" always refers to a far-call stub or a load-a-faraway-global stub, so this patch adds "Far" to the term. (Other stubs are used for lazy compilation and dlsym address replacement.) The variable was also inconsistent between the positive and negative sense, and the positive sense ("NeedStub") was more demanding than is accurate (since a nearby-enough function can be called directly even if the platform often requires a stub). Since the negative sense causes double-negatives, I switched to "MayNeedFarStub" globally. llvm-svn: 86363
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud