mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-07-01 12:24:24 +00:00
Re-implement DebugIR in a way that does not subclass AssemblyWriter:
- move AsmWriter.h from public headers into lib - marked all AssemblyWriter functions as non-virtual; no need to override them - DebugIR now "plugs into" AssemblyWriter with an AssemblyAnnotationWriter helper - exposed flags to control hiding of a) debug metadata b) debug intrinsic calls C/R: Paul Redmond git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182617 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -80,7 +80,9 @@ FunctionPass *createBoundsCheckingPass();
|
||||
|
||||
/// createDebugIRPass - Create and return a pass that modifies a module's
|
||||
/// debug metadata to point back to IR instead of the original source file
|
||||
ModulePass *createDebugIRPass(StringRef FilenamePostfix);
|
||||
ModulePass *createDebugIRPass(StringRef FilenamePostfix,
|
||||
bool hideDebugIntrinsics = true,
|
||||
bool hideDebugMetadata = true);
|
||||
|
||||
} // End llvm namespace
|
||||
|
||||
|
Reference in New Issue
Block a user