[Lldb-commits] [lldb] Add flags to dump IR to a file before and after LLVM passes (PR #65179)

2023-09-03 Thread Min-Yih Hsu via lldb-commits
@@ -830,6 +831,182 @@ void PrintIRInstrumentation::registerCallbacks( } } +void DumpIRInstrumentation::registerCallbacks( +PassInstrumentationCallbacks &PIC) { + + if (!(shouldDumpBeforeSomePass() || shouldDumpAfterSomePass())) +return; + + this->PIC = &PIC; + + P

[Lldb-commits] [lldb] Add flags to dump IR to a file before and after LLVM passes (PR #65179)

2023-09-03 Thread Nuri Amari via lldb-commits
https://github.com/NuriAmari updated https://github.com/llvm/llvm-project/pull/65179: >From 5d395c85b84e5a554df4b092014d38123e666c6c Mon Sep 17 00:00:00 2001 From: Nuri Amari Date: Tue, 29 Aug 2023 10:10:57 -0700 Subject: [PATCH 1/3] Add flags to dump IR to a file before and after LLVM passes

[Lldb-commits] [lldb] Add flags to dump IR to a file before and after LLVM passes (PR #65179)

2023-09-03 Thread Nuri Amari via lldb-commits
https://github.com/NuriAmari updated https://github.com/llvm/llvm-project/pull/65179: >From 5d395c85b84e5a554df4b092014d38123e666c6c Mon Sep 17 00:00:00 2001 From: Nuri Amari Date: Tue, 29 Aug 2023 10:10:57 -0700 Subject: [PATCH 1/2] Add flags to dump IR to a file before and after LLVM passes

[Lldb-commits] [PATCH] D143698: Support Debugging TLS variable with lldb

2023-09-03 Thread Kamlesh Kumar via Phabricator via lldb-commits
kkcode0 updated this revision to Diff 555625. kkcode0 marked an inline comment as done. kkcode0 added a comment. use ptracewrapper Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D143698/new/ https://reviews.llvm.org/D143698 Files: lldb/include/lld

[Lldb-commits] [PATCH] D158251: [lldb] Propagate destination type's byte order to memory writer

2023-09-03 Thread Kamlesh Kumar via Phabricator via lldb-commits
kkcode0 updated this revision to Diff 555624. kkcode0 added a comment. use ptracewrapper Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D158251/new/ https://reviews.llvm.org/D158251 Files: lldb/include/lldb/Host/common/NativeRegisterContext.h ll