File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
llvm/include/llvm/BinaryFormat Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 99#ifndef LLVM_BINARYFORMAT_MAGIC_H
1010#define LLVM_BINARYFORMAT_MAGIC_H
1111
12+ #include " llvm/Support/Compiler.h"
13+
1214#include < system_error>
1315
1416namespace llvm {
@@ -72,15 +74,15 @@ struct file_magic {
7274};
7375
7476// / Identify the type of a binary file based on how magical it is.
75- file_magic identify_magic (StringRef magic);
77+ LLVM_ABI file_magic identify_magic (StringRef magic);
7678
7779// / Get and identify \a path's type based on its content.
7880// /
7981// / @param path Input path.
8082// / @param result Set to the type of file, or file_magic::unknown.
8183// / @returns errc::success if result has been successfully set, otherwise a
8284// / platform-specific error_code.
83- std::error_code identify_magic (const Twine &path, file_magic &result);
85+ LLVM_ABI std::error_code identify_magic (const Twine &path, file_magic &result);
8486} // namespace llvm
8587
8688#endif
You can’t perform that action at this time.
0 commit comments