[llvm-commits] [llvm] r122044 - /llvm/trunk/lib/Target/ARM/ARMAsmBackend.cpp
Daniel Dunbar
daniel at zuster.org
Thu Dec 16 22:00:25 PST 2010
Author: ddunbar
Date: Fri Dec 17 00:00:24 2010
New Revision: 122044
URL: http://llvm.org/viewvc/llvm-project?rev=122044&view=rev
Log:
MC/ARM: Use aggressive symbol folding (important for jump tables, for example).
Modified:
llvm/trunk/lib/Target/ARM/ARMAsmBackend.cpp
Modified: llvm/trunk/lib/Target/ARM/ARMAsmBackend.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/ARM/ARMAsmBackend.cpp?rev=122044&r1=122043&r2=122044&view=diff
==============================================================================
--- llvm/trunk/lib/Target/ARM/ARMAsmBackend.cpp (original)
+++ llvm/trunk/lib/Target/ARM/ARMAsmBackend.cpp Fri Dec 17 00:00:24 2010
@@ -32,7 +32,8 @@
public:
ARMMachObjectWriter(bool Is64Bit, uint32_t CPUType,
uint32_t CPUSubtype)
- : MCMachObjectTargetWriter(Is64Bit, CPUType, CPUSubtype) {}
+ : MCMachObjectTargetWriter(Is64Bit, CPUType, CPUSubtype,
+ /*UseAggressiveSymbolFolding=*/true) {}
};
class ARMAsmBackend : public TargetAsmBackend {
More information about the llvm-commits
mailing list