LLVM  13.0.0git
Macros | Functions
WebAssemblyDebugFixup.cpp File Reference
#include "MCTargetDesc/WebAssemblyMCTargetDesc.h"
#include "Utils/WebAssemblyUtilities.h"
#include "WebAssembly.h"
#include "WebAssemblyMachineFunctionInfo.h"
#include "WebAssemblySubtarget.h"
#include "llvm/ADT/SCCIterator.h"
#include "llvm/CodeGen/MachineFrameInfo.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/MachineInstrBuilder.h"
#include "llvm/CodeGen/MachineLoopInfo.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/CodeGen/Passes.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/raw_ostream.h"
Include dependency graph for WebAssemblyDebugFixup.cpp:

Go to the source code of this file.


#define DEBUG_TYPE   "wasm-debug-fixup"


 INITIALIZE_PASS (WebAssemblyDebugFixup, DEBUG_TYPE, "Ensures debug_value's that have been stackified become stack relative", false, false) FunctionPass *llvm

Detailed Description

Several prior passes may "stackify" registers, here we ensure any references in such registers in debug_value instructions become stack relative also. This is done in a separate pass such that not all previous passes need to track stack depth when values get stackified.

Definition in file WebAssemblyDebugFixup.cpp.

Macro Definition Documentation


#define DEBUG_TYPE   "wasm-debug-fixup"

Definition at line 33 of file WebAssemblyDebugFixup.cpp.

Function Documentation


INITIALIZE_PASS ( WebAssemblyDebugFixup  ,
"Ensures debug_value's that have been stackified become stack relative"  ,
false  ,

Definition at line 53 of file WebAssemblyDebugFixup.cpp.