diff options
| author | Rafael Espindola <rafael.espindola@gmail.com> | 2010-12-09 23:48:29 +0000 |
|---|---|---|
| committer | Rafael Espindola <rafael.espindola@gmail.com> | 2010-12-09 23:48:29 +0000 |
| commit | 1c952b9cc98e84b28f68f0f6cf11197263f89863 (patch) | |
| tree | 10680a5a866de550f53f801df27d9192f02cae80 /lib/Target/CBackend | |
| parent | 29012319cd1a6dee716c3149ead614a8271f7338 (diff) | |
| download | external_llvm-1c952b9cc98e84b28f68f0f6cf11197263f89863.zip external_llvm-1c952b9cc98e84b28f68f0f6cf11197263f89863.tar.gz external_llvm-1c952b9cc98e84b28f68f0f6cf11197263f89863.tar.bz2 | |
Initial support for the cfi directives. This is just enough to get
f:
.cfi_startproc
nop
.cfi_endproc
assembled (on ELF).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121434 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/CBackend')
| -rw-r--r-- | lib/Target/CBackend/CBackend.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/CBackend/CBackend.cpp b/lib/Target/CBackend/CBackend.cpp index c89fe06..6c555a3 100644 --- a/lib/Target/CBackend/CBackend.cpp +++ b/lib/Target/CBackend/CBackend.cpp @@ -1755,7 +1755,7 @@ bool CWriter::doInitialization(Module &M) { TAsm = Match->createAsmInfo(Triple); #endif TAsm = new CBEMCAsmInfo(); - TCtx = new MCContext(*TAsm); + TCtx = new MCContext(*TAsm, NULL); Mang = new Mangler(*TCtx, *TD); // Keep track of which functions are static ctors/dtors so they can have |
