Skip to content

Commit 9119cf6

Browse files
[llvm-debuginfo-analyzer] Add support for LLVM IR format.
Fix code formatter issues: - 'undef' deprecator. - clang-format issue.
1 parent d8333fd commit 9119cf6

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

llvm/include/llvm/DebugInfo/LogicalView/LVReaderHandler.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ namespace logicalview {
3030

3131
using LVReaders = std::vector<std::unique_ptr<LVReader>>;
3232
using ArgVector = std::vector<std::string>;
33-
using PdbOrObjOrIr = PointerUnion<object::ObjectFile *, pdb::PDBFile *,
34-
object::IRObjectFile *, MemoryBufferRef *,
35-
StringRef *>;
33+
using PdbOrObjOrIr =
34+
PointerUnion<object::ObjectFile *, pdb::PDBFile *, object::IRObjectFile *,
35+
MemoryBufferRef *, StringRef *>;
3636

3737
// This class performs the following tasks:
3838
// - Creates a logical reader for every binary file in the command line,

llvm/lib/DebugInfo/LogicalView/Readers/LVIRReader.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1923,7 +1923,7 @@ void LVIRReader::processBasicBlocks(Function &F, const DISubprogram *SP) {
19231923
SeenVars.push_back(DVA);
19241924
}
19251925

1926-
// Skip undef values.
1926+
// Skip Undefined values.
19271927
if (!DbgVar->isKillLocation())
19281928
getOrCreateVariable(DbgVar->getVariable(), DbgVar->getDebugLoc().get());
19291929

@@ -1966,7 +1966,7 @@ void LVIRReader::processBasicBlocks(Function &F, const DISubprogram *SP) {
19661966
DbgValueRanges->printValues(DVA, dbgs());
19671967
DILocalVariable *LV = const_cast<DILocalVariable *>(DVA.getVariable());
19681968
LVSymbol *Symbol = getSymbolForSeenMD(LV);
1969-
// Undef only value, ignore.
1969+
// Undefined only value, ignore.
19701970
if (!Symbol)
19711971
continue;
19721972

0 commit comments

Comments
 (0)