Page MenuHomePhabricator

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

tberghammer (Tamas Berghammer)
User

Projects

User does not belong to any projects.

User Details

User Since
Jan 16 2015, 6:33 AM (454 w, 11 h)

Recent Activity

Jan 2 2023

tberghammer added a comment to D140018: [clang-tidy] Support std::string_view in readability-redundant-string-cstr.

Sorry, I was away during the holidays but just pushed the change.

Jan 2 2023, 3:26 AM · Restricted Project, Restricted Project
tberghammer committed rGf325b5b8cb1d: [clang-tidy] Support std::string_view in readability-redundant-string-cstr (authored by tberghammer).
[clang-tidy] Support std::string_view in readability-redundant-string-cstr
Jan 2 2023, 3:24 AM · Restricted Project, Restricted Project
tberghammer closed D140018: [clang-tidy] Support std::string_view in readability-redundant-string-cstr.
Jan 2 2023, 3:24 AM · Restricted Project, Restricted Project
tberghammer updated the diff for D140018: [clang-tidy] Support std::string_view in readability-redundant-string-cstr.

Rebase

Jan 2 2023, 3:16 AM · Restricted Project, Restricted Project

Dec 16 2022

tberghammer updated the diff for D140018: [clang-tidy] Support std::string_view in readability-redundant-string-cstr.

Add wstring_view test

Dec 16 2022, 8:14 AM · Restricted Project, Restricted Project

Dec 14 2022

tberghammer updated the diff for D140018: [clang-tidy] Support std::string_view in readability-redundant-string-cstr.

Fix formatting type in release notes

Dec 14 2022, 8:36 AM · Restricted Project, Restricted Project
tberghammer updated the diff for D140018: [clang-tidy] Support std::string_view in readability-redundant-string-cstr.

Add release notes

Dec 14 2022, 8:35 AM · Restricted Project, Restricted Project
tberghammer requested review of D140018: [clang-tidy] Support std::string_view in readability-redundant-string-cstr.
Dec 14 2022, 6:01 AM · Restricted Project, Restricted Project

Dec 10 2020

tberghammer accepted D92982: [mlir][Parser] Fix crash in DenseElementsAttr parser when no elements are parsed.
Dec 10 2020, 1:59 AM · Restricted Project

Nov 27 2020

tberghammer committed rGe4c74fd9ddd9: Don't elide splat attributes during printing (authored by tberghammer).
Don't elide splat attributes during printing
Nov 27 2020, 6:42 AM
tberghammer closed D92165: Don't elide splat attributes during printing.
Nov 27 2020, 6:42 AM · Restricted Project
tberghammer updated the diff for D92165: Don't elide splat attributes during printing.

Improve readability based on review commens

Nov 27 2020, 4:18 AM · Restricted Project

Nov 26 2020

tberghammer requested review of D92165: Don't elide splat attributes during printing.
Nov 26 2020, 3:09 AM · Restricted Project

Mar 11 2020

tberghammer added a comment to D75649: [mlir] Introduce OwningFuncRef following the same pattern as OwningModuleRef.

using OpBuilder::create is much more idiomatic with the rest of the infra.

The builder APIs don't express clear ownership though, having a RAII type would be nice!
Could the OpBuilder::create always return an OwningOpRef<OpTy> ?

That doesn't really make sense to me, OpBuilder::create generally inserts the operation into a block. I'm not sure what ownership semantics you are assigning to it here. Am I missing something? OpBuilder::create isn't a static method.

Mar 11 2020, 3:47 AM · Restricted Project, Restricted Project

Mar 10 2020

tberghammer added a comment to D75649: [mlir] Introduce OwningFuncRef following the same pattern as OwningModuleRef.

Hi River, I have two (somewhat related) usecases for having a FuncOp without adding it to a module:

  1. I would like to write an mlir::OwingFuncRef BuildFunc(...) function what takes some internal/domain specific input (e.g. IR from the front end) and returns the newly built function. I could just pass in the ModuleOp as an argument and add the FuncOp to it but returning an OwningFuncRef feels like a nicer API
  2. My code what builds a FuncOp might fail (e.g. due to invalid input) and in that case I want to report an error without modifying the existing ModuleOp as adding a broken function to it would make the module op broken as well. My approach for it is to create an OwningFuncRef, use it to own the FuncOp during the building process (so in case of a failure it will correctly destroy it) and then in case of success I would move the FuncOp from the OwningFuncRef to the ModuleOp.
Mar 10 2020, 3:46 AM · Restricted Project, Restricted Project

Mar 4 2020

tberghammer updated the diff for D75649: [mlir] Introduce OwningFuncRef following the same pattern as OwningModuleRef.

Add missing include

Mar 4 2020, 5:59 PM · Restricted Project, Restricted Project
tberghammer updated the diff for D75649: [mlir] Introduce OwningFuncRef following the same pattern as OwningModuleRef.

Fix code formatting

Mar 4 2020, 4:20 PM · Restricted Project, Restricted Project
tberghammer created D75649: [mlir] Introduce OwningFuncRef following the same pattern as OwningModuleRef.
Mar 4 2020, 3:11 PM · Restricted Project, Restricted Project

Feb 19 2020

tberghammer committed rG066a76a234d8: Support OptionalAttr inside a StructAttr (authored by tberghammer).
Support OptionalAttr inside a StructAttr
Feb 19 2020, 4:55 AM
tberghammer closed D74768: [mlir] Support OptionalAttr inside a StructAttr.
Feb 19 2020, 4:54 AM · Restricted Project
tberghammer updated the diff for D74768: [mlir] Support OptionalAttr inside a StructAttr.

Re-try addressing review comments

Feb 19 2020, 4:42 AM · Restricted Project
tberghammer updated the diff for D74768: [mlir] Support OptionalAttr inside a StructAttr.

Address review comments

Feb 19 2020, 4:42 AM · Restricted Project

Feb 18 2020

tberghammer updated the diff for D74768: [mlir] Support OptionalAttr inside a StructAttr.

Fix attribute accessor to not crash for null values

Feb 18 2020, 10:25 AM · Restricted Project
tberghammer created D74768: [mlir] Support OptionalAttr inside a StructAttr.
Feb 18 2020, 7:02 AM · Restricted Project

Sep 30 2019

tberghammer committed rG421a186fb4d3: Support MemoryLocation::UnknownSize in TargetLowering::IntrinsicInfo (authored by tberghammer).
Support MemoryLocation::UnknownSize in TargetLowering::IntrinsicInfo
Sep 30 2019, 7:45 AM
tberghammer committed rL373214: Support MemoryLocation::UnknownSize in TargetLowering::IntrinsicInfo.
Support MemoryLocation::UnknownSize in TargetLowering::IntrinsicInfo
Sep 30 2019, 7:44 AM
tberghammer closed D68219: Support MemoryLocation::UnknownSize in TargetLowering::IntrinsicInfo.
Sep 30 2019, 7:44 AM · Restricted Project
tberghammer created D68219: Support MemoryLocation::UnknownSize in TargetLowering::IntrinsicInfo.
Sep 30 2019, 6:53 AM · Restricted Project

Sep 27 2019

tberghammer added inline comments to rL371721: CodeGenPrep: add separate hook say when GEPs should be used for sinking. NFCI..
Sep 27 2019, 9:04 AM

Sep 3 2019

tberghammer committed rL370714: Request commit access for tberghammer.
Request commit access for tberghammer
Sep 3 2019, 2:09 AM

Jan 2 2019

tberghammer accepted D56170: RangeMap.h: merge RangeDataArray and RangeDataVector.

LGTM

Jan 2 2019, 2:47 AM

Nov 5 2018

tberghammer added inline comments to D54059: Remove Java debugger plugin.
Nov 5 2018, 8:27 AM · Restricted Project
tberghammer added a comment to D54060: Remove OCaml debugger plugin.

I have no memory about the history/background of the OCaml plugin but no objection from my side.

Nov 5 2018, 1:57 AM · Restricted Project
tberghammer accepted D54059: Remove Java debugger plugin.

LGTM. Thank you for removing it.

Nov 5 2018, 1:55 AM · Restricted Project
tberghammer accepted D54057: Remove Go debugger plugin.

LGTM. Adding Ryan as a reviewer as he was the original implementer but I am not sure if his account (and the linked e-mail) is still active.

Nov 5 2018, 1:49 AM

Jun 8 2018

tberghammer accepted D47932: Fix tuple getter in std unique pointer pretty-printer.

BTW this can also happen if we are missing some debug info.

Jun 8 2018, 3:52 AM

Jan 11 2018

tberghammer added a comment to D41909: Fix deadlock in dwarf logging.

I think it isn't an A/B locking issue. The problem is that 2 different thread (main thread and 1 of the DWARF indexer thread) want to lock the mutex at the same time.

Jan 11 2018, 5:56 AM

Nov 9 2017

tberghammer added a comment to D39825: [lldb] Ensure that dwo/dwp are not double-indexed.
In D39825#920739, @alexshap wrote:

@tberghammer, SymbolFileDWARF (the base class of SymbolFileDWARFDwo) calls Index()
"lazily" in may places, so indexing of dwo happens almost inevitably (at the moment)
(FindCompleteObjCDefinitionTypeForDIE is just one example).

Nov 9 2017, 11:19 AM
tberghammer added a comment to D39825: [lldb] Ensure that dwo/dwp are not double-indexed.

I never tried debugging Objective-C using dwo but I am pretty sure this won't fix the issue you are seeing for FindCompleteObjCDefinitionTypeForDIE correctly because this way you will index the compile unit twice (once from the main object file and once from the dwo), then create 2 CompilerType for the 2 indexed version and will start hitting random issues in expression evaluation when clang will get confused by 2 declaration for the same type. If I am not mistaken then because of this, calling Index on a Dwo file is a pretty bad idea. Instead of trying to get it work we should change it to be an assert so people don't call it by accident.

Nov 9 2017, 10:26 AM
tberghammer added a comment to D39825: [lldb] Ensure that dwo/dwp are not double-indexed.

How are you end up calling SymbolFileDWARFDwo::Index? If I remember correctly you are not supposed to index a dwo file directly because without the main object file you won't have all of the necessary information.

Nov 9 2017, 9:35 AM

Nov 7 2017

tberghammer committed rL317574: Fix an issue in r317563 causing a clang assert.
Fix an issue in r317563 causing a clang assert
Nov 7 2017, 5:44 AM
tberghammer committed rL317563: Support scoped enums in the DWARF AST parser.
Support scoped enums in the DWARF AST parser
Nov 7 2017, 2:40 AM
tberghammer closed D39545: Support scoped enums in the DWARF AST parser by committing rL317563: Support scoped enums in the DWARF AST parser.
Nov 7 2017, 2:39 AM

Nov 4 2017

tberghammer added a comment to D39239: [AST] Incorrectly qualified unscoped enumeration as template actual parameter..

I verified that D39545 will be fixing the problem on the LLDB side (previously we had no proper scoped enum support in LLDB)

Nov 4 2017, 3:29 PM · debug-info
tberghammer added a reviewer for D39545: Support scoped enums in the DWARF AST parser: jasonmolenda.

This change is needed to make LLDB compatible with D39239

Nov 4 2017, 3:27 PM
tberghammer updated the diff for D39545: Support scoped enums in the DWARF AST parser.

Fix test failures

Nov 4 2017, 3:25 PM
tberghammer committed rL317411: Improve the posix core file triple detection.
Improve the posix core file triple detection
Nov 4 2017, 11:26 AM
tberghammer closed D36046: Improve the posix core file triple detection by committing rL317411: Improve the posix core file triple detection.
Nov 4 2017, 11:26 AM

Nov 2 2017

tberghammer added a comment to D39239: [AST] Incorrectly qualified unscoped enumeration as template actual parameter..

Hi Tamas,

Thanks very much for your message.

  • Can you do a diff of the debug_info dump before and after your change? Understanding what have changed should give us a pretty good clue about the issue.

For this specific case, the debug_info is the same before and after my change, as the patch affects only unscoped enums.

Nov 2 2017, 6:12 AM · debug-info
tberghammer created D39545: Support scoped enums in the DWARF AST parser.
Nov 2 2017, 5:02 AM

Oct 30 2017

tberghammer added a comment to D39239: [AST] Incorrectly qualified unscoped enumeration as template actual parameter..

2 fairly random ideas without looking into it too much:

Oct 30 2017, 9:32 AM · debug-info

Oct 25 2017

tberghammer added a comment to D39283: [lldb-dev] Update LLDB test cases for 'inlineStepping' .

Hi Carlos,

Oct 25 2017, 2:21 PM

Oct 10 2017

tberghammer accepted D38568: [lldb] Enable using out-of-tree dwps.

Looks good. Thanks for fixing it.

Oct 10 2017, 5:02 AM

Oct 9 2017

tberghammer added inline comments to D38568: [lldb] Enable using out-of-tree dwps.
Oct 9 2017, 3:02 AM

Oct 3 2017

tberghammer accepted D38492: [lldb] Fix initialization of m_debug_cu_index_map.

Looks good, thanks for fixing it.

Oct 3 2017, 5:12 AM

Sep 19 2017

tberghammer accepted D37930: Use ThreadLauncher to launch TaskPool threads.

I don't really have an opinion if moving TaskPool to Host is a good or bad idea (haven't followed the recent layering efforts) but other then that looks good. I also tested it on Linux and it works fine.

Sep 19 2017, 6:59 AM

Sep 18 2017

tberghammer committed rL313525: Fix Linux remote debugging after r313442.
Fix Linux remote debugging after r313442
Sep 18 2017, 3:26 AM
tberghammer accepted D37930: Use ThreadLauncher to launch TaskPool threads.

Looks good

Sep 18 2017, 3:10 AM

Aug 30 2017

tberghammer added inline comments to rL309554: Add support for base address entries in the .debug_ranges section.
Aug 30 2017, 3:10 PM

Aug 25 2017

tberghammer updated subscribers of D37146: Support base address and offset pairs in debug_loc.dwo.
Aug 25 2017, 7:28 AM
tberghammer created D37146: Support base address and offset pairs in debug_loc.dwo.
Aug 25 2017, 7:28 AM
tberghammer committed rL311775: Add support for the DWP debug info format.
Add support for the DWP debug info format
Aug 25 2017, 6:59 AM
tberghammer closed D36062: Add support for the DWP debug info format by committing rL311775: Add support for the DWP debug info format.
Aug 25 2017, 6:59 AM
tberghammer added inline comments to D36062: Add support for the DWP debug info format.
Aug 25 2017, 3:40 AM

Aug 24 2017

tberghammer added a comment to D36062: Add support for the DWP debug info format.

Hi Jason,

Aug 24 2017, 2:56 AM

Aug 16 2017

tberghammer added reviewers for D36062: Add support for the DWP debug info format: jasonmolenda, labath.

Note about testing: I haven't manage to come up with any good approach so far for testing because only fairly new version of dwp or llvm-dwp can generate the format I am expecting here so adding a new config for the existing test suite seems a bit infeasible and also it would increase the testing time by a non negligible time.

Aug 16 2017, 5:24 AM
tberghammer added a comment to D36046: Improve the posix core file triple detection.

Hi Greg, can you take a look sometime? Thanks, Tamas

Aug 16 2017, 5:06 AM
tberghammer updated the diff for D36046: Improve the posix core file triple detection.

Add comment about the MIPS special case.

Aug 16 2017, 5:02 AM
tberghammer committed rL311000: Remove the DWARFExpression -> Clang ExpressionParser dependency.
Remove the DWARFExpression -> Clang ExpressionParser dependency
Aug 16 2017, 4:46 AM
tberghammer abandoned D30251: Map ELF files as writable so we can update the relocations in them.
Aug 16 2017, 4:44 AM
tberghammer closed D36068: Add support for base address entries in the .debug_ranges section.
Aug 16 2017, 4:43 AM

Aug 10 2017

tberghammer accepted D36445: Fix "process load/unload" on android.

Thanks for fixing it

Aug 10 2017, 2:39 AM

Aug 8 2017

tberghammer added inline comments to D36445: Fix "process load/unload" on android.
Aug 8 2017, 2:10 AM

Aug 5 2017

tberghammer added a comment to D36300: WIP: DebugInfo: Use base address and offset pairs in debug_loc.dwo to reduce required relocations.

I checked LLDB and it doesn't have support for base address entries neither in .debug_loc nor in .debug_loc.dwo sections and it doesn't support reading .debug_loclists or .debug_loclists.dwo entries either. I will try to add support for them but it will require some refactoring so it will take some time.

Aug 5 2017, 8:34 AM

Jul 31 2017

tberghammer added a comment to D11465: Fix "process load/unload" on android.

Thanks for all of the data. Based on this I think you are using a preview version of android O what reports SDK 25 but the linker works the way an SDK 26 system linker would do.

Jul 31 2017, 7:59 AM
tberghammer committed rL309554: Add support for base address entries in the .debug_ranges section.
Add support for base address entries in the .debug_ranges section
Jul 31 2017, 3:29 AM
tberghammer added a comment to D36068: Add support for base address entries in the .debug_ranges section.

Submitted as rL309554 to get the buildbot using ToT clang green again but if you have any comment then let me know and I will address it in a followup CL.

Jul 31 2017, 3:29 AM

Jul 30 2017

tberghammer created D36068: Add support for base address entries in the .debug_ranges section.
Jul 30 2017, 6:20 PM
tberghammer raised a concern with rL309526: DebugInfo: Use base address selection entries in debug_ranges to reduce….

Hi David,

Jul 30 2017, 4:49 PM
tberghammer updated the diff for D36062: Add support for the DWP debug info format.

Improve error handling

Jul 30 2017, 11:44 AM
tberghammer created D36062: Add support for the DWP debug info format.
Jul 30 2017, 9:21 AM

Jul 29 2017

tberghammer added inline comments to D36046: Improve the posix core file triple detection.
Jul 29 2017, 6:10 AM
tberghammer created D36046: Improve the posix core file triple detection.
Jul 29 2017, 6:08 AM

Jul 27 2017

tberghammer added a comment to D11465: Fix "process load/unload" on android.

Hi Nitesh,

Jul 27 2017, 7:54 AM
tberghammer committed rL309265: XFAIL/XFlakey some tests what become very flakey on the Linux buildbot.
XFAIL/XFlakey some tests what become very flakey on the Linux buildbot
Jul 27 2017, 5:02 AM

Jul 26 2017

tberghammer added a comment to D35734: Don't allow LLDB to try and parse .debug_types.

I tried to compile the code snippet you mentioned but it doesn't put anything into the debug_types section. If I move the enum definition outside of the class then it produces debug_type section but LLDB fails back gracefully without any crash or error message. I also tried a few other code snippets and the debugging experience usually wasn't great (types of local variables were messed up) but I haven't manage to get LLDB crashing.

Jul 26 2017, 2:57 AM

Jul 24 2017

tberghammer accepted D35734: Don't allow LLDB to try and parse .debug_types.

Can you file a bug about this issue so we can keep track of it? Also it would be nice to include a small test case in the bug (if you have one) what demonstrates the crash as so far I only managed to see missing type information without an actual LLDB crash.

Jul 24 2017, 10:04 AM
tberghammer added a comment to D35734: Don't allow LLDB to try and parse .debug_types.

This section have been already removed from Dwarf5 so I agree that we shouldn't spend too much time adding support for it. Do you know anybody hitting this issue? Do you know why they decided to use this flag?

Jul 24 2017, 5:05 AM

Jun 28 2017

tberghammer added inline comments to D34750: [UnwindAssembly/x86] Add support for "lea imm(%ebp), %esp" pattern.
Jun 28 2017, 9:37 AM
tberghammer accepted D34750: [UnwindAssembly/x86] Add support for "lea imm(%ebp), %esp" pattern.

Looks good with one possible question

Jun 28 2017, 8:37 AM

Jun 19 2017

tberghammer accepted D34352: [linux] Change the way we load vdso pseudo-module.

Looks good

Jun 19 2017, 10:16 AM

Jun 15 2017

tberghammer accepted D34199: Tweak SysV_arm64 function entry unwind plan.

Looks good

Jun 15 2017, 6:37 AM

May 24 2017

tberghammer committed rL303738: Demangler: Fix constructor cv qualifier handling.
Demangler: Fix constructor cv qualifier handling
May 24 2017, 4:29 AM
tberghammer closed D33385: __cxa_demangle: Fix constructor cv qualifier handling by committing rL303737: __cxa_demangle: Fix constructor cv qualifier handling.
May 24 2017, 4:21 AM
tberghammer committed rL303737: __cxa_demangle: Fix constructor cv qualifier handling.
__cxa_demangle: Fix constructor cv qualifier handling
May 24 2017, 4:21 AM

May 21 2017

tberghammer created D33385: __cxa_demangle: Fix constructor cv qualifier handling.
May 21 2017, 7:34 AM

May 19 2017

tberghammer added inline comments to D32930: New framework for lldb client-server communication tests..
May 19 2017, 5:02 AM

May 18 2017

tberghammer added inline comments to D32930: New framework for lldb client-server communication tests..
May 18 2017, 6:08 AM

May 8 2017

tberghammer added a comment to D32930: New framework for lldb client-server communication tests..

I few high level comments after a quick read through.

May 8 2017, 6:40 AM

May 5 2017

tberghammer accepted D32813: ABISysV_arm64: compute return value for large vectors correctly.

Makes sense. Thank you for the explanation (I assumed homogeneous aggregate and vector are the same).

May 5 2017, 3:39 AM