diff options
| author | 2018-04-06 14:26:03 +0000 | |
|---|---|---|
| committer | 2018-04-06 14:26:03 +0000 | |
| commit | bdabc2f19ffb9e20600dad6e8a300842a7bda50e (patch) | |
| tree | c50e7b2e5449b074651bb82a58517a8ebc4a8cf7 /gnu/llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp | |
| parent | Print a 'p' flag for file descriptors that were opened after pledge(2). (diff) | |
| download | wireguard-openbsd-bdabc2f19ffb9e20600dad6e8a300842a7bda50e.tar.xz wireguard-openbsd-bdabc2f19ffb9e20600dad6e8a300842a7bda50e.zip | |
Import LLVM 6.0.1 release including clang, lld and lldb.
"where is the kaboom?" deraadt@
Diffstat (limited to 'gnu/llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp')
| -rw-r--r-- | gnu/llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/gnu/llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp b/gnu/llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp index 595f1d91c4b..3c04c969192 100644 --- a/gnu/llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp +++ b/gnu/llvm/lib/CodeGen/AsmPrinter/DwarfFile.cpp @@ -1,4 +1,4 @@ -//===-- llvm/CodeGen/DwarfFile.cpp - Dwarf Debug Framework ----------------===// +//===- llvm/CodeGen/DwarfFile.cpp - Dwarf Debug Framework -----------------===// // // The LLVM Compiler Infrastructure // @@ -11,13 +11,16 @@ #include "DwarfCompileUnit.h" #include "DwarfDebug.h" #include "DwarfUnit.h" -#include "llvm/ADT/STLExtras.h" -#include "llvm/IR/DataLayout.h" +#include "llvm/ADT/SmallVector.h" +#include "llvm/CodeGen/AsmPrinter.h" +#include "llvm/CodeGen/DIE.h" +#include "llvm/IR/DebugInfoMetadata.h" #include "llvm/MC/MCStreamer.h" -#include "llvm/Support/LEB128.h" -#include "llvm/Target/TargetLoweringObjectFile.h" +#include <algorithm> +#include <cstdint> + +using namespace llvm; -namespace llvm { DwarfFile::DwarfFile(AsmPrinter *AP, StringRef Pref, BumpPtrAllocator &DA) : Asm(AP), Abbrevs(AbbrevAllocator), StrPool(DA, *Asm, Pref) {} @@ -113,4 +116,3 @@ bool DwarfFile::addScopeVariable(LexicalScope *LS, DbgVariable *Var) { Vars.push_back(Var); return true; } -} |
