summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/GlobalISel/MachineIRBuilder.cpp
diff options
context:
space:
mode:
authorVlad Tsyrklevich <vlad@tsyrklevich.net>2018-07-31 18:10:37 +0000
committerVlad Tsyrklevich <vlad@tsyrklevich.net>2018-07-31 18:10:37 +0000
commit48ed9acede9eb8e8a13ef41f186d217c117dfe5f (patch)
tree0a1b4c7820cacfcf21cb4140ea2ab50bc795886a /llvm/lib/CodeGen/GlobalISel/MachineIRBuilder.cpp
parent5d9b00d15b3d449e8e2eadd5fa7d5d986970418f (diff)
downloadbcm5719-llvm-48ed9acede9eb8e8a13ef41f186d217c117dfe5f.tar.gz
bcm5719-llvm-48ed9acede9eb8e8a13ef41f186d217c117dfe5f.zip
Revert "[DebugInfo] Generate DWARF debug information for labels."
This reverts commits r338390 and r338398, they were causing LSan failures on the ASan bot. llvm-svn: 338408
Diffstat (limited to 'llvm/lib/CodeGen/GlobalISel/MachineIRBuilder.cpp')
-rw-r--r--llvm/lib/CodeGen/GlobalISel/MachineIRBuilder.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/llvm/lib/CodeGen/GlobalISel/MachineIRBuilder.cpp b/llvm/lib/CodeGen/GlobalISel/MachineIRBuilder.cpp
index c7b98c6b859..3271b54aa83 100644
--- a/llvm/lib/CodeGen/GlobalISel/MachineIRBuilder.cpp
+++ b/llvm/lib/CodeGen/GlobalISel/MachineIRBuilder.cpp
@@ -149,15 +149,6 @@ MachineInstrBuilder MachineIRBuilderBase::buildConstDbgValue(
return MIB.addImm(0).addMetadata(Variable).addMetadata(Expr);
}
-MachineInstrBuilder MachineIRBuilderBase::buildDbgLabel(const MDNode *Label) {
- assert(isa<DILabel>(Label) && "not a label");
- assert(cast<DILabel>(Label)->isValidLocationForIntrinsic(State.DL) &&
- "Expected inlined-at fields to agree");
- auto MIB = buildInstr(TargetOpcode::DBG_LABEL);
-
- return MIB.addMetadata(Label);
-}
-
MachineInstrBuilder MachineIRBuilderBase::buildFrameIndex(unsigned Res,
int Idx) {
assert(getMRI()->getType(Res).isPointer() && "invalid operand type");
OpenPOWER on IntegriCloud