In D132611#3747396, @kcc wrote:not arguing for or against, but I wonder how many output parsers will break.
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Feed Advanced Search
Advanced Search
Advanced Search
Aug 24 2022
Aug 24 2022
test update
Aug 15 2022
Aug 15 2022
In D128998#3721563, @MaskRay wrote:About __unw_clean_step:
libunwind/src/libunwind_ext.h provides a bunch of API which are not implemented by https://github.com/libunwind/libunwind .
Before we settle on an API there, it's worth raising an issue on https://github.com/libunwind/libunwind and giving them some time for the API design.
Aug 5 2022
Aug 5 2022
address comments
add comment
[HWASan] Remove incorrect unreachable.
In D103562#3702962, @smd wrote:Hi folks,
I've been working on support hwasan for risc-v and I believe I've found an issue with the existing lit tests this commit causes.
Tests stack-{oob,uar,uas}.c check for correct backtrace being printed. From the code and comments the idea is to not to print any hwasan related frames(see the code and comments below).void HandleTagMismatch(AccessInfo ai, uptr pc, uptr frame, void *uc, uptr *registers_frame) { InternalMmapVector<BufferedStackTrace> stack_buffer(1); BufferedStackTrace *stack = stack_buffer.data(); stack->Reset(); stack->Unwind(pc, frame, uc, common_flags()->fast_unwind_on_fatal); // The second stack frame contains the failure __hwasan_check function, as // we have a stack frame for the registers saved in __hwasan_tag_mismatch that // we wish to ignore. This (currently) only occurs on AArch64, as x64 // implementations use SIGTRAP to implement the failure, and thus do not go // through the stack saver. if (registers_frame && stack->trace && stack->size > 0) { stack->trace++; stack->size--; }Before this commit the return address and frame pointer to were taken directly from hwasan_tag_mismatch4, while after the commit those addresses are calculated after another function being called from hwasan_tag_mismatch4 (the HwasanTagMismatch one).
So, if I understand it correctly, now it looks like 2 stack frames must be ignored(for hwasan_tag_mismatch4 and HwasanTagMismatch) to get a proper backtrace.
What do you think?Thanks
Aug 4 2022
Aug 4 2022
fmayer committed rGfc6a6ee507ec: [libunwind] undef NDEBUG for assert.h in tests. (authored by fmayer).
[libunwind] undef NDEBUG for assert.h in tests.
Aug 4 2022, 7:56 PM · Restricted Project
In addition to the test described in the message, I ran the libunwind test suites on FVP with SANITIZE_TARGET=memtag-stack and they still pass.
Aug 3 2022
Aug 3 2022
In D130956#3697869, @craig.topper wrote:I'll revert, I'll have to do a fixup for a dependent patch that I committed after this.
This seems related to an error we see on our sanitizer bots: https://lab.llvm.org/buildbot/#/builders/37/builds/15446/steps/33/logs/stdio
Aug 2 2022
Aug 2 2022
fmayer added a comment to D130934: [clang] Update code that assumes FileEntry::getName is absolute NFC.
This CL seems to have an MSAN violation: https://lab.llvm.org/buildbot/#/builders/74/builds/12529/steps/11/logs/stdio
Aug 1 2022
Aug 1 2022
This broke the sanitizer buildbot: https://lab.llvm.org/buildbot/#/builders/168/builds/7879/steps/11/logs/stdio
Should be fixed at HEAD by https://github.com/llvm/llvm-project/commit/71f2d5c2d195256f27f293aefdc1d4f6c117065d
This broke the sanitizer buildbot: https://lab.llvm.org/buildbot/#/builders/168/builds/7879/steps/11/logs/stdio
Jul 29 2022
Jul 29 2022
fmayer added a comment to D130718: [compiler-rt] [builtins] Detect _Float16 support at compile time.
I think this broke the sanitizer-windows buildbot: https://lab.llvm.org/buildbot/#/builders/127/builds/33583/steps/4/logs/stdio
Jul 1 2022
Jul 1 2022
Looks good! Please add "[NFC]" to the commit message to indicate this change is non-functional.
Jun 27 2022
Jun 27 2022
Jun 24 2022
Jun 24 2022
FWIW this is not really NFC, I found this as the culprit in bisecting the Android LLVM toolchain build, causing the following error:
Jun 22 2022
Jun 22 2022
fmayer committed rG9320a32bb91b: [MTE] [HWASan] Use LoopInfo for reachability queries. (authored by fmayer).
[MTE] [HWASan] Use LoopInfo for reachability queries.
In D127917#3602467, @eugenis wrote:Could you add a test?
add test
[MTE] [HWASan] Support diamond lifetimes.
fmayer committed rGacc9721e3866: [NFC] [HWASan] Remove indirection for getting analyses. (authored by fmayer).
[NFC] [HWASan] Remove indirection for getting analyses.
Jun 21 2022
Jun 21 2022
In D127913#3600203, @myhsu wrote:Mostly LG. Just curious if the analysis results would be invalidated between GetDT/GetPDT calls (in the original code)?
address comments.
Gentle ping.
Jun 15 2022
Jun 15 2022
fmayer added a reviewer for D127917: [MTE] [HWASan] Use LoopInfo for reachability queries.: eugenis.
fmayer added a reviewer for D127913: [NFC] [HWASan] Remove indirection for getting analyses.: eugenis.
Jun 9 2022
Jun 9 2022
[NFC] change error message wording.
fmayer committed rGd7e438c016e5: [libcxx] improve LIBCXX_ABI_NAMESPACE error message (authored by fmayer).
[libcxx] improve LIBCXX_ABI_NAMESPACE error message
Jun 8 2022
Jun 8 2022
[ELF] Support 'G' in .eh_frame
Jun 8 2022, 2:29 PM · Restricted Project
[DWARF] Support 'G' in dwarf parser
add requires aarch64
require aarch64-registered-target
Tests broke on windows.
fmayer added a reverting change for rG4c71c3386c5c: [DWARF] Support 'G' in dwarf parser: rG0d54a874ee24: Revert "[DWARF] Support 'G' in dwarf parser".
Revert "[DWARF] Support 'G' in dwarf parser"
Tests broke on windows.
fmayer added a reverting change for rG40f34fe4a87d: [ELF] Support 'G' in .eh_frame: rG6fb4fe728590: Revert "[ELF] Support 'G' in .eh_frame".
Jun 8 2022, 1:53 PM · Restricted Project
Revert "[ELF] Support 'G' in .eh_frame"
Jun 8 2022, 1:53 PM · Restricted Project
fmayer added a reverting change for D127171: [DWARF] Support 'G' in dwarf parser: rG0d54a874ee24: Revert "[DWARF] Support 'G' in dwarf parser".
fmayer added a reverting change for D127148: [ELF] Support 'G' in .eh_frame: rG6fb4fe728590: Revert "[ELF] Support 'G' in .eh_frame".
[ELF] Support 'G' in .eh_frame
Jun 8 2022, 1:40 PM · Restricted Project
[DWARF] Support 'G' in dwarf parser
fmayer committed rG0593ce5f0bbb: [MC] Add 'G' to augmentation string for MTE instrumented functions (authored by fmayer).
[MC] Add 'G' to augmentation string for MTE instrumented functions
Jun 7 2022
Jun 7 2022
Consistency
remove comments
address comment
address comment
rebase
test
address comments
address comments
fmayer added inline comments to D127007: [MC] Add 'G' to augmentation string for MTE instrumented functions.
fmayer updated the diff for D127007: [MC] Add 'G' to augmentation string for MTE instrumented functions.
add another test
Jun 6 2022
Jun 6 2022
In D127148#3562065, @MaskRay wrote:llvm/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp code can be tested with llvm-objdump/llvm-dwarfdump but should have a test in test/DebugInfo.
lld doesn't use llvm/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp code. It's inappropriate to rely on lld/test/ELF to provide the test coverage.
You should move llvm/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp into another patch with a test/DebugInfo patch.
fmayer retitled D127148: [ELF] Support 'G' in .eh_frame from [ELF] Support 'G' in lld and dwarf parser to [ELF] Support 'G' in lld.
remove dwarf test
remove DWARF parser
Accidentally duplicated this.
test no REQUIRES
test
fmayer added a comment to D127007: [MC] Add 'G' to augmentation string for MTE instrumented functions.
In D127007#3562088, @MaskRay wrote:It may be better to move the DebugInfo change from the lld patch into this patch.