mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
now that mangler is in libtarget, it can use MCAsmInfo instead of clients
having to pass various fields from it in. Simplify. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93686 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -119,7 +119,7 @@ bool ELFWriter::doInitialization(Module &M) {
|
||||
// Initialize TargetLoweringObjectFile.
|
||||
const_cast<TargetLoweringObjectFile&>(TLOF).Initialize(OutContext, TM);
|
||||
|
||||
Mang = new Mangler(M);
|
||||
Mang = new Mangler(*MAI);
|
||||
|
||||
// ELF Header
|
||||
// ----------
|
||||
|
Reference in New Issue
Block a user