diff options
author | Arthur Eubanks <aeubanks@google.com> | 2023-03-15 11:45:25 -0700 |
---|---|---|
committer | Arthur Eubanks <aeubanks@google.com> | 2023-03-15 11:45:25 -0700 |
commit | e94b59ee75b2bbef330d4ea9d06e87b51ddfd0e3 (patch) | |
tree | 5c5c215ad0caff6332728dc75ac7cf97d4c36c0d /llvm/lib/Transforms/Utils/StripNonLineTableDebugInfo.cpp | |
parent | 6a3fdcdd3885d482cdcbeface52b8a52396c609b (diff) | |
download | llvm-e94b59ee75b2bbef330d4ea9d06e87b51ddfd0e3.zip llvm-e94b59ee75b2bbef330d4ea9d06e87b51ddfd0e3.tar.gz llvm-e94b59ee75b2bbef330d4ea9d06e87b51ddfd0e3.tar.bz2 |
[Debugify/Strip] Fix returned PreservedAnalyses
Diffstat (limited to 'llvm/lib/Transforms/Utils/StripNonLineTableDebugInfo.cpp')
-rw-r--r-- | llvm/lib/Transforms/Utils/StripNonLineTableDebugInfo.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/llvm/lib/Transforms/Utils/StripNonLineTableDebugInfo.cpp b/llvm/lib/Transforms/Utils/StripNonLineTableDebugInfo.cpp index 01aa6d1..65b5402 100644 --- a/llvm/lib/Transforms/Utils/StripNonLineTableDebugInfo.cpp +++ b/llvm/lib/Transforms/Utils/StripNonLineTableDebugInfo.cpp @@ -17,5 +17,7 @@ using namespace llvm; PreservedAnalyses StripNonLineTableDebugInfoPass::run(Module &M, ModuleAnalysisManager &AM) { llvm::stripNonLineTableDebugInfo(M); - return PreservedAnalyses::all(); + PreservedAnalyses PA; + PA.preserveSet<CFGAnalyses>(); + return PA; } |