Page MenuHomePhabricator

Please use GitHub pull requests for new patches. Phabricator shutdown timeline

Feed Advanced Search

Yesterday

hans added a reverting change for D144006: [DebugMetadata][DwarfDebug] Support function-local types in lexical block scopes (4/7): rGeee1f7cef856: Revert "[DebugMetadata][DwarfDebug] Support function-local types in lexical….
Fri, Sep 29, 5:25 AM · Restricted Project, debug-info, Restricted Project, Restricted Project
hans added a reverting change for rGf8aab289b554: [DebugMetadata][DwarfDebug] Support function-local types in lexical block…: rGeee1f7cef856: Revert "[DebugMetadata][DwarfDebug] Support function-local types in lexical….
Fri, Sep 29, 5:25 AM · Restricted Project, Restricted Project, Restricted Project
hans committed rGeee1f7cef856: Revert "[DebugMetadata][DwarfDebug] Support function-local types in lexical… (authored by hans).
Revert "[DebugMetadata][DwarfDebug] Support function-local types in lexical…
Fri, Sep 29, 5:25 AM · Restricted Project, Restricted Project, Restricted Project
hans added a comment to D144006: [DebugMetadata][DwarfDebug] Support function-local types in lexical block scopes (4/7).

We're hitting an assert after this change:

Fri, Sep 29, 5:24 AM · Restricted Project, debug-info, Restricted Project, Restricted Project
hans added a reverting change for rG59a67ea35d60: [SLP]Improve costs in computeExtractCost() to avoid crash after D158449.: rG06f3b0ed436b: Revert "[SLP]Improve costs in computeExtractCost() to avoid crash after D158449..
Fri, Sep 29, 1:42 AM · Restricted Project, Restricted Project
hans committed rG06f3b0ed436b: Revert "[SLP]Improve costs in computeExtractCost() to avoid crash after D158449. (authored by hans).
Revert "[SLP]Improve costs in computeExtractCost() to avoid crash after D158449.
Fri, Sep 29, 1:42 AM · Restricted Project, Restricted Project

Thu, Sep 28

hans committed rG9625b74cdbc7: [gtest] Disable new posix::FOpen Windows implementation for now (authored by hans).
[gtest] Disable new posix::FOpen Windows implementation for now
Thu, Sep 28, 12:11 PM · Restricted Project

Wed, Sep 27

hans added a comment to D155064: [clang][SemaCXX] Diagnose tautological uses of consteval if and is_constant_evaluated.

We saw a new warning in Chromium after this, and I wasn't sure if that's intentional:

Wed, Sep 27, 7:46 AM · Restricted Project, Restricted Project, Restricted Project

Tue, Sep 26

hans committed rG39f36d5d5c88: [Driver] Give warn_drv_include_probe_gch a dedicated flag (authored by hans).
[Driver] Give warn_drv_include_probe_gch a dedicated flag
Tue, Sep 26, 5:15 AM · Restricted Project, Restricted Project

Thu, Sep 21

hans added a comment to D138846: MC/DC in LLVM Source-Based Code Coverage: LLVM back-end and compiler-rt.

I just noticed this also broke some lit tests on mac: https://bugs.chromium.org/p/chromium/issues/detail?id=1485487#c0
That's also visible on greendragon: https://green.lab.llvm.org/green/view/Clang/job/clang-stage1-RA/35721/testReport/

Thu, Sep 21, 4:59 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project
hans added a comment to D138846: MC/DC in LLVM Source-Based Code Coverage: LLVM back-end and compiler-rt.

I'm still working on a repro, but after this patch we're seeing "truncated profile data" errors in chromium (crbug.com/1485303)

Thank you for the heads-up! If there's an issue, I'm eager to ensure it is addressed. Your repro will be helpful.

Thu, Sep 21, 3:21 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project
hans added a reverting change for D138846: MC/DC in LLVM Source-Based Code Coverage: LLVM back-end and compiler-rt: rG53a2923bf67b: Revert "[InstrProf][compiler-rt] Enable MC/DC Support in LLVM Source-based Code….
Thu, Sep 21, 3:21 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project
hans added a reverting change for rGa50486fd736a: [InstrProf][compiler-rt] Enable MC/DC Support in LLVM Source-based Code…: rG53a2923bf67b: Revert "[InstrProf][compiler-rt] Enable MC/DC Support in LLVM Source-based Code….
Thu, Sep 21, 3:21 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project
hans committed rG53a2923bf67b: Revert "[InstrProf][compiler-rt] Enable MC/DC Support in LLVM Source-based Code… (authored by hans).
Revert "[InstrProf][compiler-rt] Enable MC/DC Support in LLVM Source-based Code…
Thu, Sep 21, 3:21 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project

Wed, Sep 20

hans added a reverting change for rG84216d17359f: [clang] Don't inherit dllimport/dllexport to…: rG700f683f9ddd: Revert "[clang] Don't inherit dllimport/dllexport to….
Wed, Sep 20, 7:31 AM · Restricted Project, Restricted Project
hans committed rG700f683f9ddd: Revert "[clang] Don't inherit dllimport/dllexport to… (authored by hans).
Revert "[clang] Don't inherit dllimport/dllexport to…
Wed, Sep 20, 7:31 AM · Restricted Project, Restricted Project

Mon, Sep 11

hans added a comment to D155713: [clang] Fix interaction between dllimport and exclude_from_explicit_instantiation.

Sent my diff along with tests based on Louis's patch as a pull request here: https://github.com/llvm/llvm-project/pull/65961

Mon, Sep 11, 6:19 AM · Restricted Project, Restricted Project

Aug 31 2023

hans added inline comments to D153924: [OpenMP] Allow exceptions in target regions when offloading to GPUs.
Aug 31 2023, 12:38 AM · Restricted Project, Restricted Project
hans committed rG1968f0d7981d: Add REQUIRES: staticanalyzer to some tests using clang -analyze (authored by hans).
Add REQUIRES: staticanalyzer to some tests using clang -analyze
Aug 31 2023, 12:37 AM · Restricted Project, Restricted Project

Aug 30 2023

hans added a comment to D152495: [Clang][SemaCXX] Add unused warning for variables declared in condition expressions.

That might not be a bad idea in this case -- perhaps -Wunused-condition-variable and group it under -Wunused-variable?

Aug 30 2023, 11:01 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project
hans added a comment to D152495: [Clang][SemaCXX] Add unused warning for variables declared in condition expressions.

It is used, but only in an assert. Seems like the right fix!

Aug 30 2023, 10:04 AM · Restricted Project, Restricted Project, Restricted Project, Restricted Project
hans committed rGa4fbc0918462: Clang: Don't warn about unused private fields of types declared maybe_unused (authored by hans).
Clang: Don't warn about unused private fields of types declared maybe_unused
Aug 30 2023, 12:07 AM · Restricted Project, Restricted Project
hans closed D159083: Clang: Don't warn about unused private fields of types declared maybe_unused.
Aug 30 2023, 12:07 AM · Restricted Project, Restricted Project

Aug 29 2023

hans added inline comments to D159083: Clang: Don't warn about unused private fields of types declared maybe_unused.
Aug 29 2023, 7:33 AM · Restricted Project, Restricted Project
hans added inline comments to D159083: Clang: Don't warn about unused private fields of types declared maybe_unused.
Aug 29 2023, 7:12 AM · Restricted Project, Restricted Project
hans updated the diff for D159083: Clang: Don't warn about unused private fields of types declared maybe_unused.

Add release note.

Aug 29 2023, 7:12 AM · Restricted Project, Restricted Project
hans requested review of D159083: Clang: Don't warn about unused private fields of types declared maybe_unused.
Aug 29 2023, 4:32 AM · Restricted Project, Restricted Project

Aug 23 2023

hans added inline comments to D158301: Add back overriding-t-options for -m<os>-version-min diagnostic.
Aug 23 2023, 6:06 AM · Restricted Project, Restricted Project

Aug 22 2023

hans added a comment to D153156: [Clang] CWG1473: do not err on the lack of space after operator"".

I agree this should be reverted from 17.x so we have more time to consider an appropriate path forward. Supporting evidence that this will likely be disruptive: https://sourcegraph.com/search?q=context:global+%5E%28%22%5B%5E%22%5D%2B%22PRI.*%29%24+lang:C%2B%2B+-file:.*test.*&patternType=regexp&case=yes&sm=0&groupBy=repo

Aug 22 2023, 11:42 AM · Restricted Project, Restricted Project
hans added a comment to D153156: [Clang] CWG1473: do not err on the lack of space after operator"".

Given the concerns raised (the PRIuS one in https://godbolt.org/z/v3boc9E6T seems like a good example), and that the fix in D158372 doesn't seem straight-forward, could this be reverted to unbreak things until a revised version is ready?

Aug 22 2023, 11:07 AM · Restricted Project, Restricted Project
hans added inline comments to D158301: Add back overriding-t-options for -m<os>-version-min diagnostic.
Aug 22 2023, 3:32 AM · Restricted Project, Restricted Project

Aug 21 2023

hans added inline comments to D158301: Add back overriding-t-options for -m<os>-version-min diagnostic.
Aug 21 2023, 5:25 AM · Restricted Project, Restricted Project

Aug 18 2023

hans committed rGd158ee576ba6: bolt/test/X86/bug-function-layout-execount.s: Require x86 and asserts (authored by hans).
bolt/test/X86/bug-function-layout-execount.s: Require x86 and asserts
Aug 18 2023, 5:02 AM · Restricted Project
hans accepted D158137: Rename warn_drv_overriding_flag_option (-Woverriding-t-option) to warn_drv_overriding_flag_option (-Woverriding-option).

Maybe add a short release note.

Aug 18 2023, 4:18 AM · Restricted Project, Restricted Project

Aug 17 2023

hans added a comment to D158137: Rename warn_drv_overriding_flag_option (-Woverriding-t-option) to warn_drv_overriding_flag_option (-Woverriding-option).

Thanks! I agree. d9ad0681fad9a98f43d9baddb95d505b37153c48 (2013) renamed warn_drv_overriding_t_option to warn_drv_overriding_flag_option.
Perhaps the original name warn_drv_overriding_t_option should be restored.

Aug 17 2023, 5:41 AM · Restricted Project, Restricted Project

Aug 16 2023

hans added a comment to D155713: [clang] Fix interaction between dllimport and exclude_from_explicit_instantiation.

That doesn't handle the second of your test cases though, where dllimport is put on the member directly:
...
It's not clear to me how we'd want to handle that. I don't think it comes up in libc++, and I can't think of any code that would want to do that either, really.

I think this does actually matter for libc++, I think I have seen this pattern:

template <typename T>
struct Foo {
  _LIBCPP_FUNC_VIS _LIBCPP_EXCLUDE_FROM_ABI void method() { }
};

I can't find an instance right now, though. I think it comes up when you want to have a default visibility function, and also keep it out of the libc++ DSO interface.

Aug 16 2023, 11:38 AM · Restricted Project, Restricted Project
hans added a comment to D157602: [libc++] Work around dynamic linking of stringstream::str() on Windows.

@hans Hmm, I wonder if it's related to /Zc:dllexportInlines- (ref https://blog.llvm.org/2018/11/30-faster-windows-builds-with-clang-cl_14.html).

Aug 16 2023, 7:21 AM · Restricted Project, Restricted Project
hans added a comment to D155713: [clang] Fix interaction between dllimport and exclude_from_explicit_instantiation.

Apologies for the delay, I'm still catching up with my post-vacation backlog.

Aug 16 2023, 5:50 AM · Restricted Project, Restricted Project

Aug 15 2023

hans added a comment to D157808: [clang] Add missing field to VisibilityAttr json AST dump.

Since reverting seems non-trivial, I added a triple in https://github.com/llvm/llvm-project/commit/7a1735cd05c2bc0c336f122f01fb35de66e85e16 which I believe should fix the test.

Aug 15 2023, 8:06 AM · Restricted Project, Restricted Project
hans committed rG7a1735cd05c2: Add a triple to clang/test/AST/ast-dump-attr-json.cpp (authored by hans).
Add a triple to clang/test/AST/ast-dump-attr-json.cpp
Aug 15 2023, 8:06 AM · Restricted Project, Restricted Project

Aug 10 2023

hans added a comment to D157334: [clang] Define _MSC_EXTENSIONS on -gnu if -fms-extensions is set.

I'm curious to hear what others think about this (especially @rnk and @hans).

Aug 10 2023, 11:21 AM · Restricted Project, Restricted Project

Aug 7 2023

hans accepted D157245: [clang/cxx-interop] Teach clang to ignore availability errors that come from CF_OPTIONS.

Maybe we want this for the release/17.x branch too?

Aug 7 2023, 3:38 AM · Restricted Project
hans added a comment to D137872: Implement lambdas with inalloca parameters by forwarding to function without inalloca calling convention..

For those following along, this was relanded in https://reviews.llvm.org/D154007

Aug 7 2023, 1:43 AM · Restricted Project, Restricted Project

Aug 4 2023

hans committed rGbeb339c0ef8b: build_llvm_release.bat: Set -DCLANG_ENABLE_LIBXML2=OFF (authored by hans).
build_llvm_release.bat: Set -DCLANG_ENABLE_LIBXML2=OFF
Aug 4 2023, 7:57 AM · Restricted Project, Restricted Project

Aug 1 2023

hans committed rG277a7e8e3342: build_llvm_release.bat: Update desired SWIG version for LLDB (authored by hans).
build_llvm_release.bat: Update desired SWIG version for LLDB
Aug 1 2023, 5:46 AM · Restricted Project, Restricted Project

Jul 14 2023

hans added a comment to D155233: [CMake] Switch the CMP0091 policy (MSVC_RUNTIME_LIBRARY) to the new behaviour.

Confirmed that Chromium's toolchain build works with this.

Jul 14 2023, 4:44 AM · Restricted Project, Restricted Project, Restricted Project
hans added inline comments to D155268: [lld][COFF] Find libraries with relative paths. r=hans,maskray,mstorsjo,phosek,rnk.
Jul 14 2023, 2:24 AM · Restricted Project, Restricted Project
hans accepted D155268: [lld][COFF] Find libraries with relative paths. r=hans,maskray,mstorsjo,phosek,rnk.

lgtm

Jul 14 2023, 2:10 AM · Restricted Project, Restricted Project
hans accepted D155185: [libc++] Work around dynamic linking of stringbuf::str() on Windows.

I wasn't sure if you were planning to update the patch to not move the str(const _SAlloc& __sa) const template, but either way is fine by me really.

Jul 14 2023, 12:38 AM · Restricted Project, Restricted Project

Jul 13 2023

hans accepted D151188: [LLD][COFF] Add LLVM toolchain library paths by default..

lgtm

Jul 13 2023, 9:45 AM · Restricted Project, Restricted Project, Restricted Project
hans added inline comments to D155185: [libc++] Work around dynamic linking of stringbuf::str() on Windows.
Jul 13 2023, 6:30 AM · Restricted Project, Restricted Project
hans added inline comments to D155185: [libc++] Work around dynamic linking of stringbuf::str() on Windows.
Jul 13 2023, 6:13 AM · Restricted Project, Restricted Project
hans added inline comments to D155185: [libc++] Work around dynamic linking of stringbuf::str() on Windows.
Jul 13 2023, 5:16 AM · Restricted Project, Restricted Project
hans abandoned D155180: [libc++] Use always_inline for std::stringbuf::str() on Windows to work around #40363.

I think https://reviews.llvm.org/D155185 addresses it better: there are two overloads to handle for now, there will be eight.

Jul 13 2023, 5:15 AM · Restricted Project, Restricted Project
hans added a comment to D151188: [LLD][COFF] Add LLVM toolchain library paths by default..

Nice!

Jul 13 2023, 5:10 AM · Restricted Project, Restricted Project, Restricted Project
hans requested review of D155180: [libc++] Use always_inline for std::stringbuf::str() on Windows to work around #40363.
Jul 13 2023, 4:37 AM · Restricted Project, Restricted Project

Jul 12 2023

hans added inline comments to D153709: [libc++] Implement stringbuf members of P0408R7 (Efficient Access to basic_stringbuf's Buffer).
Jul 12 2023, 9:42 AM · Restricted Project, Restricted Project
hans added a comment to D155047: [lld][COFF] Add -print-search-paths for debugging..

By the way, do we have a github issue tracking the whole https://discourse.llvm.org/t/improve-autolinking-of-compiler-rt-and-libc-on-windows-with-lld-link/71392/ situation? If so it would be nice to reference it in the commit.

Jul 12 2023, 6:31 AM · Restricted Project, Restricted Project
hans updated subscribers of D153709: [libc++] Implement stringbuf members of P0408R7 (Efficient Access to basic_stringbuf's Buffer).
Jul 12 2023, 6:23 AM · Restricted Project, Restricted Project
hans accepted D155047: [lld][COFF] Add -print-search-paths for debugging..

lgtm

Jul 12 2023, 5:54 AM · Restricted Project, Restricted Project
hans added inline comments to D155047: [lld][COFF] Add -print-search-paths for debugging..
Jul 12 2023, 4:14 AM · Restricted Project, Restricted Project
hans added a comment to D155047: [lld][COFF] Add -print-search-paths for debugging..

Seems handy to me. We could also add this kind of info to the /verbose output, but having a separate option is probably more convenient.

Jul 12 2023, 3:38 AM · Restricted Project, Restricted Project

Jul 11 2023

hans added inline comments to D153709: [libc++] Implement stringbuf members of P0408R7 (Efficient Access to basic_stringbuf's Buffer).
Jul 11 2023, 7:34 AM · Restricted Project, Restricted Project
hans added a comment to D154295: [Driver][MSVC] Support DWARF fission when using LTO on Windows.

It would be nice to have some documentation for this feature though.

This feature is same as Linux -gsplit-dwarf.

Right, but it would be nice to document that clang-cl supports it (which is not obvious since it's mostly trying to be cl.exe compatible).

Do you know which doc file should be updated? I haven't found a doc describe -gdwarf for Windows.

Jul 11 2023, 7:00 AM · Restricted Project, Restricted Project
hans added a comment to D154286: [libc++][format] Granularize formatter_output..

@hans can you test whether this solves the chromium issue with vector. I suspect it doesn't but it would be good to get it confirmed.

Jul 11 2023, 6:18 AM · Restricted Project, Restricted Project
hans added inline comments to D153709: [libc++] Implement stringbuf members of P0408R7 (Efficient Access to basic_stringbuf's Buffer).
Jul 11 2023, 2:03 AM · Restricted Project, Restricted Project

Jul 6 2023

hans added a comment to D154295: [Driver][MSVC] Support DWARF fission when using LTO on Windows.

It would be nice to have some documentation for this feature though.

This feature is same as Linux -gsplit-dwarf.

Jul 6 2023, 7:36 AM · Restricted Project, Restricted Project
hans committed rGd4f43e4293f9: [docs] Update 'please file a bug' link for clang-cl (authored by hans).
[docs] Update 'please file a bug' link for clang-cl
Jul 6 2023, 6:13 AM · Restricted Project, Restricted Project
hans accepted D154295: [Driver][MSVC] Support DWARF fission when using LTO on Windows.

Looks reasonable to me too.

Jul 6 2023, 6:09 AM · Restricted Project, Restricted Project
hans accepted D154545: [llvm-rc] Improve help printouts.

lgtm

Jul 6 2023, 5:22 AM · Restricted Project, Restricted Project
hans added a comment to D154389: [Sanitizers][Darwin][Test] Mark symbolize_pc test unsupported in Darwin/LSan context.

Somehow this seems to have made it worse on the bot: https://green.lab.llvm.org/green/view/Clang/job/clang-stage1-RA/34927/

Jul 6 2023, 3:04 AM · Restricted Project, Restricted Project
hans added inline comments to D151953: [libc++] Fix std::copy and std::move for ranges with potentially overlapping tail padding.
Jul 6 2023, 1:09 AM · Restricted Project, Restricted Project

Jul 4 2023

hans committed rG1e35e93e30c2: [libc++] Disable tree invariant check in asserts mode (authored by hans).
[libc++] Disable tree invariant check in asserts mode
Jul 4 2023, 6:43 AM · Restricted Project, Restricted Project
hans closed D154417: [libc++] Disable tree invariant check in asserts mode.
Jul 4 2023, 6:42 AM · Restricted Project, Restricted Project
hans added a comment to D154417: [libc++] Disable tree invariant check in asserts mode.

Given the comment in https://reviews.llvm.org/D153672#4468348, I think, this should be fine to submit.

Jul 4 2023, 6:42 AM · Restricted Project, Restricted Project
hans added inline comments to D153672: [libc++] Remove the legacy debug mode..
Jul 4 2023, 1:54 AM · Restricted Project, Restricted Project
hans requested review of D154417: [libc++] Disable tree invariant check in asserts mode.
Jul 4 2023, 1:53 AM · Restricted Project, Restricted Project

Jul 3 2023

hans added a comment to D154122: [libc++][format] Removes unneeded includes..

@hans These are some removals, this might help a tiny bit with D149543. I try to look at the core issue this weekend.

Jul 3 2023, 6:40 AM · Restricted Project, Restricted Project
hans added a comment to D150802: [libc++][format] Removes the experimental status..

Does that mean the flag in __config is not set correctly? It was recently updated in D134912.

It's tricky. As discussed on that change, Clang does support 128-bit operations also on Windows so the flag is correct in that sense, but it requires linking with the builtins library which we don't do (yet).

I see. Is there an estimate how long it takes to get the linking with the builtins library will take. I wonder whether we should ship libc++17 with 128 bit support on Windows when it may lead to link time error.

Jul 3 2023, 6:39 AM · Restricted Project, Restricted Project
hans added inline comments to D153672: [libc++] Remove the legacy debug mode..
Jul 3 2023, 3:01 AM · Restricted Project, Restricted Project

Jun 30 2023

hans added a reverting change for rG85bdea023f51: clang: Use new frexp intrinsic for builtins and add f16 version: rG0c545a441285: Revert "clang: Use new frexp intrinsic for builtins and add f16 version".
Jun 30 2023, 4:27 AM · Restricted Project, Restricted Project
hans added a reverting change for rGbf8e92c0e792: HIP: Use frexp builtins in math headers: rG0c545a441285: Revert "clang: Use new frexp intrinsic for builtins and add f16 version".
Jun 30 2023, 4:27 AM · Restricted Project, Restricted Project
hans committed rG0c545a441285: Revert "clang: Use new frexp intrinsic for builtins and add f16 version" (authored by hans).
Revert "clang: Use new frexp intrinsic for builtins and add f16 version"
Jun 30 2023, 4:27 AM · Restricted Project, Restricted Project

Jun 28 2023

hans added a comment to D149543: [libc++][format] Fixes vector<bool> requirements..

Interesting. Am I right to assume most of the new size is due to including <string>?

Jun 28 2023, 12:02 PM · Restricted Project, Restricted Project
hans added a comment to D149543: [libc++][format] Fixes vector<bool> requirements..

In Chromium we noticed that this almost doubled the preprocessed size of <vector>, from ca 1.6 MB to 3.2 MB. Since it's a widely included header, that results in ca 8 GB (2.5%) of extra code to compile during a full build.

Jun 28 2023, 5:40 AM · Restricted Project, Restricted Project
hans added a comment to D152208: [libc++] Introduce __make_uninitialized_buffer and use it instead of get_temporary_buffer.

I'm working on adding a CFI run to our CI right now. It looks like I just have to add _LIBCPP_NO_CFI to __make_uninitialized_buffer, given that get_temporary_buffer also has that attribute. I hope to get the patch completed by tomorrow.

Jun 28 2023, 4:39 AM · Restricted Project, Restricted Project
hans committed rG4fd517d6133e: [lsan] Be more conservative in SuspendedThreadsListMac::GetRegistersAndSP (authored by lgrey).
[lsan] Be more conservative in SuspendedThreadsListMac::GetRegistersAndSP
Jun 28 2023, 1:40 AM · Restricted Project, Restricted Project
hans closed D153072: [lsan] Be more conservative in SuspendedThreadsListMac::GetRegistersAndSP.
Jun 28 2023, 1:40 AM · Restricted Project, Restricted Project
hans added a comment to D153072: [lsan] Be more conservative in SuspendedThreadsListMac::GetRegistersAndSP.

It seems Leonard is out at the moment, so I'll go ahead and commit this on his behalf.

Jun 28 2023, 1:39 AM · Restricted Project, Restricted Project
hans added a comment to D150802: [libc++][format] Removes the experimental status..

Does that mean the flag in __config is not set correctly? It was recently updated in D134912.

Jun 28 2023, 1:22 AM · Restricted Project, Restricted Project

Jun 27 2023

hans added a comment to D152208: [libc++] Introduce __make_uninitialized_buffer and use it instead of get_temporary_buffer.

We're hitting CFI errors in Chromium after this, see https://github.com/llvm/llvm-project/issues/63523

Jun 27 2023, 6:50 AM · Restricted Project, Restricted Project
hans accepted D153072: [lsan] Be more conservative in SuspendedThreadsListMac::GetRegistersAndSP.

Looks reasonable to me too.

Jun 27 2023, 4:22 AM · Restricted Project, Restricted Project
hans added a comment to D150802: [libc++][format] Removes the experimental status..

Sharing in case anyone else runs into the same problem: This caused Chromium builds to fail on Windows due to not linking against compiler-rt's builtins library. It turns out this patch caused us to compile some code doing 128-bit arithmetic and calling the __udivti3 runtime function. We worked around it by defining _LIBCPP_HAS_NO_INT128 until we can make the builtins library part of all our builds.

Jun 27 2023, 1:24 AM · Restricted Project, Restricted Project

Jun 26 2023

hans added a comment to D147875: [clang][Diagnostics] Show line numbers when printing code snippets.

I noticed that at least for some cases of -Wformat, the line numbers on the left seem to be off: https://github.com/llvm/llvm-project/issues/63524

Jun 26 2023, 6:00 AM · Restricted Project, Restricted Project, Restricted Project
hans added a comment to D152208: [libc++] Introduce __make_uninitialized_buffer and use it instead of get_temporary_buffer.

We're hitting CFI errors in Chromium after this, see https://github.com/llvm/llvm-project/issues/63523

Jun 26 2023, 5:43 AM · Restricted Project, Restricted Project

Jun 20 2023

hans added a comment to D144006: [DebugMetadata][DwarfDebug] Support function-local types in lexical block scopes (4/7).

We're seeing assertion failures in Chromium too. Reproducer for x86_64 Linux here: https://bugs.chromium.org/p/chromium/issues/detail?id=1456288#c2

Jun 20 2023, 3:40 AM · Restricted Project, debug-info, Restricted Project, Restricted Project
hans accepted D153176: [Frontend] Remove ShowIncludesPretendHeader.

lgtm

Jun 20 2023, 3:19 AM · Restricted Project, Restricted Project

Jun 19 2023

hans accepted D153175: [Frontend] Don't output skipped includes from predefines.

-H is supposed to skip outputting headers from -include command line
arguments, but -fshow-skipped-includes was outputting any skipped
includes encountered via -include.

Jun 19 2023, 1:22 AM · Restricted Project, Restricted Project

Jun 16 2023

hans committed rG6fa1a2c084ea: [X86] Fix callee side of receiving byval args on the stack (authored by hans).
[X86] Fix callee side of receiving byval args on the stack
Jun 16 2023, 5:19 AM · Restricted Project, Restricted Project
hans closed D153020: [X86] Fix callee side of receiving byval args on the stack.
Jun 16 2023, 5:18 AM · Restricted Project, Restricted Project