This migrates all LLVM (except Kaleidoscope and
CodeGen/StackProtector.cpp) DebugLoc::get to DILocation::get.
The CodeGen/StackProtector.cpp usage may have a nullptr Scope
and can trigger an assertion failure, so I don't migrate it.
Paths
| Differential D93087
Migrate deprecated DebugLoc::get to DILocation::get ClosedPublic Authored by MaskRay on Dec 10 2020, 10:36 PM.
Details
Summary This migrates all LLVM (except Kaleidoscope and The CodeGen/StackProtector.cpp usage may have a nullptr Scope
Diff Detail
Unit TestsFailed Event TimelineHerald added subscribers: dexonsmith, wenlei, hiraditya. · View Herald TranscriptDec 10 2020, 10:36 PM This revision is now accepted and ready to land.Dec 11 2020, 12:06 PM This revision was landed with ongoing or failed builds.Dec 11 2020, 12:45 PM Closed by commit rGb5ad32ef5c68: Migrate deprecated DebugLoc::get to DILocation::get (authored by MaskRay). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 311113 llvm/lib/Bitcode/Reader/BitcodeReader.cpp
llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
llvm/lib/CodeGen/LiveDebugValues/InstrRefBasedImpl.cpp
llvm/lib/CodeGen/SafeStack.cpp
llvm/lib/IR/DebugInfo.cpp
llvm/lib/IR/DebugLoc.cpp
llvm/lib/Transforms/IPO/MergeFunctions.cpp
llvm/lib/Transforms/IPO/SampleProfileProbe.cpp
llvm/lib/Transforms/Instrumentation/AddressSanitizer.cpp
llvm/lib/Transforms/Instrumentation/SanitizerCoverage.cpp
llvm/lib/Transforms/Utils/CodeExtractor.cpp
llvm/lib/Transforms/Utils/EntryExitInstrumenter.cpp
llvm/lib/Transforms/Utils/InlineFunction.cpp
llvm/lib/Transforms/Utils/Local.cpp
|
clang-tidy: warning: 'auto DIL' can be declared as 'auto *DIL' [llvm-qualified-auto]
not useful