llir-opt  0.0.1
Low-Level Post-Link Optimiser for OCaml and C
visibility.h
1 // This file if part of the llir-opt project.
2 // Licensing information can be found in the LICENSE file.
3 // (C) 2018 Nandor Licker. All rights reserved.
4 
5 #pragma once
6 
7 #include <cstdint>
8 
9 #include <llvm/Support/raw_ostream.h>
10 
11 
12 
28 enum class Visibility : uint8_t {
30  LOCAL,
34  GLOBAL_DEFAULT,
38  GLOBAL_HIDDEN,
42  WEAK_DEFAULT,
46  WEAK_HIDDEN,
47 };
48 
52 llvm::raw_ostream &operator<<(llvm::raw_ostream &os, Visibility visibility);