summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2011-04-30 03:44:37 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2011-04-30 03:44:37 +0000
commita3181d12c6dacc6250d48d3fa52fa9e4ce6a4f3d (patch)
tree1a4ce9aea0812ca2cd98eefa830c877d0e9c9704 /llvm/lib/CodeGen
parent27f3afbc1ab81a8a1d391899037ddbeffd070252 (diff)
downloadbcm5719-llvm-a3181d12c6dacc6250d48d3fa52fa9e4ce6a4f3d.tar.gz
bcm5719-llvm-a3181d12c6dacc6250d48d3fa52fa9e4ce6a4f3d.zip
Add all the plumbing needed for MC to expand cfi to the old tables in
the final assembly. It is the same technique used when targeting assemblers that don't support .loc. llvm-svn: 130587
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r--llvm/lib/CodeGen/LLVMTargetMachine.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/LLVMTargetMachine.cpp b/llvm/lib/CodeGen/LLVMTargetMachine.cpp
index 8c2794a729a..e1dad2efa98 100644
--- a/llvm/lib/CodeGen/LLVMTargetMachine.cpp
+++ b/llvm/lib/CodeGen/LLVMTargetMachine.cpp
@@ -149,6 +149,7 @@ bool LLVMTargetMachine::addPassesToEmitFile(PassManagerBase &PM,
MCStreamer *S = getTarget().createAsmStreamer(*Context, Out,
getVerboseAsm(),
hasMCUseLoc(),
+ hasMCUseCFI(),
InstPrinter,
MCE, TAB,
ShowMCInst);
OpenPOWER on IntegriCloud