summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MachObjectWriter.cpp
diff options
context:
space:
mode:
authorJim Grosbach <grosbach@apple.com>2015-06-04 20:27:42 +0000
committerJim Grosbach <grosbach@apple.com>2015-06-04 20:27:42 +0000
commit7c76b4cc6ebe70f35f527b25ecfb608fa252954f (patch)
tree878777170ab5aee5c94337f624ce63a795e0a759 /llvm/lib/MC/MachObjectWriter.cpp
parenta2498cc51a22815db2006d43b6877aba714a73b0 (diff)
downloadbcm5719-llvm-7c76b4cc6ebe70f35f527b25ecfb608fa252954f.tar.gz
bcm5719-llvm-7c76b4cc6ebe70f35f527b25ecfb608fa252954f.zip
MC: Remove obsolete MachO UseAggressiveSymbolFolding.
Fix the FIXME and remove this old as(1) compat option. It was useful for bringup of the integrated assembler to diff object files, but now it's just causing more relocations than strictly necessary to be generated. rdar://21201804 llvm-svn: 239084
Diffstat (limited to 'llvm/lib/MC/MachObjectWriter.cpp')
-rw-r--r--llvm/lib/MC/MachObjectWriter.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/lib/MC/MachObjectWriter.cpp b/llvm/lib/MC/MachObjectWriter.cpp
index 3d06d0ff32f..07a6038c189 100644
--- a/llvm/lib/MC/MachObjectWriter.cpp
+++ b/llvm/lib/MC/MachObjectWriter.cpp
@@ -703,9 +703,6 @@ bool MachObjectWriter::IsSymbolRefDifferenceFullyResolvedImpl(
SA.isTemporary() && SA.isInSection() && &SecA == &SecB){
return true;
}
- } else {
- if (!TargetObjectWriter->useAggressiveSymbolFolding())
- return false;
}
// If they are not in the same section, we can't compute the diff.
OpenPOWER on IntegriCloud