DWARFLocationExpression.cpp 757 B

12345678910111213141516171819
  1. //===- DWARFLocationExpression.cpp ----------------------------------------===//
  2. //
  3. // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
  4. // See https://llvm.org/LICENSE.txt for license information.
  5. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  6. //
  7. //===----------------------------------------------------------------------===//
  8. #include "llvm/DebugInfo/DWARF/DWARFLocationExpression.h"
  9. #include "llvm/ADT/iterator_range.h"
  10. #include "llvm/Support/FormatVariadic.h"
  11. using namespace llvm;
  12. raw_ostream &llvm::operator<<(raw_ostream &OS,
  13. const DWARFLocationExpression &Loc) {
  14. return OS << Loc.Range << ": "
  15. << formatv("{0}", make_range(Loc.Expr.begin(), Loc.Expr.end()));
  16. }