Coverage Report

Created: 2023-09-12 09:32

/Users/buildslave/jenkins/workspace/coverage/llvm-project/lldb/tools/argdumper/argdumper.cpp
Line
Count
Source
1
//===-- argdumper.cpp --------------------------------------------*- C++-*-===//
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
9
#include "llvm/Support/JSON.h"
10
11
using namespace llvm;
12
13
634
int main(int argc, char *argv[]) {
14
634
  json::Array Arguments;
15
1.29k
  for (int i = 1; i < argc; 
i++660
) {
16
660
    Arguments.push_back(argv[i]);
17
660
  }
18
634
  llvm::outs() << json::Object({{"arguments", std::move(Arguments)}});
19
634
  return 0;
20
634
}