Home
last modified time | relevance | path

Searched refs:DiagnosticEngine (Results 1 – 24 of 24) sorted by relevance

/frameworks/compile/mclinker/include/mcld/LD/
DDiagCommonKinds.inc2 DiagnosticEngine::Error,
6 DiagnosticEngine::Fatal,
10 DiagnosticEngine::Warning,
13 DIAG(err_no_inputs, DiagnosticEngine::Error, "no inputs", "no inputs")
15 DiagnosticEngine::Error,
19 DiagnosticEngine::Warning,
25 DiagnosticEngine::Fatal,
29 DiagnosticEngine::Fatal,
33 DiagnosticEngine::Error,
37 DiagnosticEngine::Unreachable,
[all …]
DDiagnostic.h24 explicit Diagnostic(DiagnosticEngine& pEngine);
32 DiagnosticEngine::ArgumentKind getArgKind(unsigned int pIdx) const { in getArgKind()
34 return (DiagnosticEngine::ArgumentKind)m_Engine.state().ArgumentKinds[pIdx]; in getArgKind()
38 assert(getArgKind(pIdx) == DiagnosticEngine::ak_std_string && in getArgStdStr()
44 assert(getArgKind(pIdx) == DiagnosticEngine::ak_c_string && in getArgCStr()
50 assert(getArgKind(pIdx) == DiagnosticEngine::ak_sint && in getArgSInt()
56 assert(getArgKind(pIdx) == DiagnosticEngine::ak_uint && in getArgUInt()
62 assert(getArgKind(pIdx) == DiagnosticEngine::ak_ulonglong && in getArgULongLong()
68 assert(getArgKind(pIdx) == DiagnosticEngine::ak_bool && in getArgBool()
74 assert(getArgKind(pIdx) != DiagnosticEngine::ak_std_string && in getRawVals()
[all …]
DDiagRelocations.inc2 DiagnosticEngine::Fatal,
6 DiagnosticEngine::Fatal,
10 DiagnosticEngine::Fatal,
14 DiagnosticEngine::Fatal,
18 DiagnosticEngine::Error,
24 DiagnosticEngine::Fatal,
30 DiagnosticEngine::Fatal,
34 DiagnosticEngine::Unreachable,
38 DiagnosticEngine::Fatal,
42 DiagnosticEngine::Unreachable,
[all …]
DDiagAttribute.inc3 DiagnosticEngine::Warning,
7 DiagnosticEngine::Warning,
13 DiagnosticEngine::Error,
17 DiagnosticEngine::Warning,
21 DiagnosticEngine::Error,
27 DiagnosticEngine::Warning,
33 DiagnosticEngine::Warning,
37 DiagnosticEngine::Warning,
41 DiagnosticEngine::Warning,
45 DiagnosticEngine::Warning,
[all …]
DDiagMips.inc3 DiagnosticEngine::Fatal,
7 DiagnosticEngine::Error,
11 DiagnosticEngine::Error,
15 DiagnosticEngine::Error,
19 DiagnosticEngine::Error,
23 DiagnosticEngine::Error,
27 DiagnosticEngine::Error,
31 DiagnosticEngine::Error,
35 DiagnosticEngine::Warning,
39 DiagnosticEngine::Warning,
[all …]
DDiagSymbolResolutions.inc2 DiagnosticEngine::Note,
6 DiagnosticEngine::Fatal,
10 DiagnosticEngine::Unreachable,
14 DiagnosticEngine::Ignore,
18 DiagnosticEngine::Ignore,
22 DiagnosticEngine::Ignore,
26 DiagnosticEngine::Ignore,
30 DiagnosticEngine::Fatal,
34 DiagnosticEngine::Error,
38 DiagnosticEngine::Unreachable,
[all …]
DMsgHandler.h26 explicit MsgHandler(DiagnosticEngine& pEngine);
36 DiagnosticEngine::ArgumentKind pKind) const;
42 DiagnosticEngine& m_Engine;
67 DiagnosticEngine::ak_c_string);
72 pHandler.addTaggedVal(pValue, DiagnosticEngine::ak_sint);
78 pHandler.addTaggedVal(pValue, DiagnosticEngine::ak_uint);
83 pHandler.addTaggedVal(pValue, DiagnosticEngine::ak_sint);
89 pHandler.addTaggedVal(pValue, DiagnosticEngine::ak_uint);
95 pHandler.addTaggedVal(pValue, DiagnosticEngine::ak_ulonglong);
100 pHandler.addTaggedVal(pValue, DiagnosticEngine::ak_bool);
DDiagLayouts.inc2 DiagnosticEngine::Warning,
6 DiagnosticEngine::Warning,
10 DiagnosticEngine::Unreachable,
16 DiagnosticEngine::Warning,
20 DiagnosticEngine::Warning,
24 DiagnosticEngine::Error,
28 DiagnosticEngine::Debug,
32 DiagnosticEngine::Debug,
36 DiagnosticEngine::Error,
DDiagGOTPLT.inc2 DiagnosticEngine::Unreachable,
6 DiagnosticEngine::Fatal,
10 DiagnosticEngine::Fatal,
14 DiagnosticEngine::Unreachable,
18 DiagnosticEngine::Unreachable,
DDiagReaders.inc2 DiagnosticEngine::Error,
6 DiagnosticEngine::Debug,
10 DiagnosticEngine::Debug,
14 DiagnosticEngine::Fatal,
DDiagLDScript.inc2 DiagnosticEngine::Error,
6 DiagnosticEngine::Error,
10 DiagnosticEngine::Error,
DDiagnosticEngine.h36 class DiagnosticEngine {
59 DiagnosticEngine();
61 ~DiagnosticEngine();
DDiagnosticInfos.h33 class DiagnosticEngine; variable
47 bool process(DiagnosticEngine& pEngine) const;
DDiagnosticPrinter.h37 virtual void handleDiagnostic(DiagnosticEngine::Severity pSeverity,
DTextDiagnosticPrinter.h31 virtual void handleDiagnostic(DiagnosticEngine::Severity pSeverity,
/frameworks/compile/mclinker/lib/LD/
DDiagnosticInfos.cpp28 DiagnosticEngine::Severity Severity;
56 {0, DiagnosticEngine::None, 0, 0}};
75 {0, DiagnosticEngine::None, 0, 0}};
86 static_cast<uint16_t>(pID), DiagnosticEngine::None, 0, 0}; in getDiagInfo()
112 bool DiagnosticInfos::process(DiagnosticEngine& pEngine) const { in process()
120 DiagnosticEngine::Severity severity = static_info->Severity; in process()
125 severity = DiagnosticEngine::Ignore; in process()
137 severity = DiagnosticEngine::Error; in process()
139 severity = DiagnosticEngine::Ignore; in process()
143 severity = DiagnosticEngine::Error; in process()
[all …]
DDiagnosticEngine.cpp23 DiagnosticEngine::DiagnosticEngine() in DiagnosticEngine() function in mcld::DiagnosticEngine
31 DiagnosticEngine::~DiagnosticEngine() { in ~DiagnosticEngine()
41 void DiagnosticEngine::reset(const LinkerConfig& pConfig) { in reset()
48 void DiagnosticEngine::setLineInfo(DiagnosticLineInfo& pLineInfo) { in setLineInfo()
52 void DiagnosticEngine::setPrinter(DiagnosticPrinter& pPrinter, in setPrinter()
61 bool DiagnosticEngine::emit() { in emit()
68 MsgHandler DiagnosticEngine::report(uint16_t pID, in report()
69 DiagnosticEngine::Severity pSeverity) { in report()
DTextDiagnosticPrinter.cpp46 DiagnosticEngine::Severity pSeverity, in handleDiagnostic()
54 case DiagnosticEngine::Unreachable: { in handleDiagnostic()
61 case DiagnosticEngine::Fatal: { in handleDiagnostic()
68 case DiagnosticEngine::Error: { in handleDiagnostic()
75 case DiagnosticEngine::Warning: { in handleDiagnostic()
82 case DiagnosticEngine::Debug: { in handleDiagnostic()
92 case DiagnosticEngine::Note: { in handleDiagnostic()
102 case DiagnosticEngine::Ignore: { in handleDiagnostic()
117 case DiagnosticEngine::Unreachable: { in handleDiagnostic()
125 case DiagnosticEngine::Fatal: { in handleDiagnostic()
[all …]
DMsgHandler.cpp15 MsgHandler::MsgHandler(DiagnosticEngine& pEngine) in MsgHandler()
29 assert(m_NumArgs < DiagnosticEngine::MaxArguments && in addString()
31 m_Engine.state().ArgumentKinds[m_NumArgs] = DiagnosticEngine::ak_std_string; in addString()
36 assert(m_NumArgs < DiagnosticEngine::MaxArguments && in addString()
38 m_Engine.state().ArgumentKinds[m_NumArgs] = DiagnosticEngine::ak_std_string; in addString()
43 DiagnosticEngine::ArgumentKind pKind) const { in addTaggedVal()
44 assert(m_NumArgs < DiagnosticEngine::MaxArguments && in addTaggedVal()
DDiagnostic.cpp23 Diagnostic::Diagnostic(DiagnosticEngine& pEngine) : m_Engine(pEngine) { in Diagnostic()
124 DiagnosticEngine::ArgumentKind kind = getArgKind(arg_no); in format()
126 case DiagnosticEngine::ak_std_string: { in format()
137 case DiagnosticEngine::ak_c_string: { in format()
150 case DiagnosticEngine::ak_sint: { in format()
155 case DiagnosticEngine::ak_uint: { in format()
160 case DiagnosticEngine::ak_ulonglong: { in format()
165 case DiagnosticEngine::ak_bool: { in format()
DDiagnosticPrinter.cpp25 void DiagnosticPrinter::handleDiagnostic(DiagnosticEngine::Severity pSeverity, in handleDiagnostic()
27 if (pSeverity == DiagnosticEngine::Warning) in handleDiagnostic()
30 if (pSeverity <= DiagnosticEngine::Error) in handleDiagnostic()
DAndroid.bp18 "DiagnosticEngine.cpp",
/frameworks/compile/mclinker/include/mcld/Support/
DMsgHandling.h26 DiagnosticEngine& getDiagnosticEngine();
42 return getDiagnosticEngine().report(pID, DiagnosticEngine::Unreachable); in unreachable()
46 return getDiagnosticEngine().report(pID, DiagnosticEngine::Fatal); in fatal()
50 return getDiagnosticEngine().report(pID, DiagnosticEngine::Error); in error()
54 return getDiagnosticEngine().report(pID, DiagnosticEngine::Warning); in warning()
58 return getDiagnosticEngine().report(pID, DiagnosticEngine::Debug); in debug()
62 return getDiagnosticEngine().report(pID, DiagnosticEngine::Note); in note()
66 return getDiagnosticEngine().report(pID, DiagnosticEngine::Ignore); in ignore()
/frameworks/compile/mclinker/lib/Support/
DMsgHandling.cpp28 static llvm::ManagedStatic<DiagnosticEngine> g_pEngine;
42 DiagnosticEngine& getDiagnosticEngine() { in getDiagnosticEngine()