lld-16-dev 16.0.6-r24
LLVM project source licence headerCode mentions corruption/corrupting
SHA-25603bfcf03623c46f318ab96c493dab085c6d42af196fd65220aa5e6116399a169
MaleculeO(Er)H(F)
Evidence
1//===- lld/Common/Version.h - LLD Version Number ----------------*- 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//===----------------------------------------------------------------------===//
⋯6 lines
14#define LLD_VERSION_H
15
16#include "lld/Common/Version.inc"
17#include "llvm/ADT/StringRef.h"
18
19namespace lld {
⋯5 lines
1//===- lld/Common/Driver.h - Linker Driver Emulator -----------------------===//
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#ifndef LLD_COMMON_DRIVER_H
10#define LLD_COMMON_DRIVER_H
11
12#include "llvm/ADT/ArrayRef.h"
13#include "llvm/Support/raw_ostream.h"
14
15namespace lld {
⋯4 lines
20
21// Generic entry point when using LLD as a library, safe for re-entry, supports
22// crash recovery. Returns a general completion code and a boolean telling
23// whether it can be called again. In some cases, a crash could corrupt memory
24// and re-entry would not be possible anymore. Use exitLld() in that case to
25// properly exit your application and avoid intermittent crashes on exit caused
26// by cleanup.
⋯22 lines
1//===- Reproduce.h - Utilities for creating reproducers ---------*- 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#ifndef LLD_COMMON_REPRODUCE_H
10#define LLD_COMMON_REPRODUCE_H
11
12#include "lld/Common/LLVM.h"
13#include "llvm/ADT/StringRef.h"
14#include "llvm/Support/Error.h"
15
16namespace llvm {
17namespace opt { class Arg; }
18}
19
20namespace lld {
21
22// Makes a given pathname an absolute path first, and then remove
23// beginning /. For example, "../foo.o" is converted to "home/john/foo.o",
24// assuming that the current directory is "/home/john/bar".
25std::string relativeToRoot(StringRef path);
26
⋯8 lines
8 "licenseListVersion": "3.22",
9 "creators": [
10 "Tool: melange (v0.45.4)",
11 "Organization: Chainguard, Inc"
12 ],
41 "referenceCategory": "PACKAGE-MANAGER",
42 "referenceType": "purl",
43 "referenceLocator": "pkg:apk/wolfi/[email protected]?arch=x86_64\u0026distro=wolfi"
44 }
45 ],
No evidence locations were recorded for this file. Raw result