[Lldb-commits] [PATCH] D79559: [lldb] Also recognize DWARF UTF base types using their size

2020-05-13 Thread Pavel Labath via Phabricator via lldb-commits
labath added a comment. Yep. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D79559/new/ https://reviews.llvm.org/D79559 ___ lldb-commits mailing list lldb-commits@lists.llvm.org

[Lldb-commits] [PATCH] D79559: [lldb] Also recognize DWARF UTF base types using their size

2020-05-13 Thread Mathias LANG via Phabricator via lldb-commits
Geod24 added a comment. Thanks! I suppose this won't be in the next patch release (10.0.1) but instead in the next major ? Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D79559/new/ https://reviews.llvm.org/D79559

[Lldb-commits] [PATCH] D79559: [lldb] Also recognize DWARF UTF base types using their size

2020-05-13 Thread Pavel Labath via Phabricator via lldb-commits
labath closed this revision. labath added a comment. Committed as e16111ce2f . I've also added checks for the dstring/wstring types. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION

[Lldb-commits] [PATCH] D79559: [lldb] Also recognize DWARF UTF base types using their size

2020-05-13 Thread Mathias LANG via Phabricator via lldb-commits
Geod24 added a comment. Good to know, thanks! It's also my first time using `arc`, so I had to poke around a bit. In any case I didn't seem to include that whitespace fix even after squashing the commits together. If this is fine as is, then great. No I don't have commit access. Repository:

[Lldb-commits] [PATCH] D79559: [lldb] Also recognize DWARF UTF base types using their size

2020-05-13 Thread Pavel Labath via Phabricator via lldb-commits
labath added a comment. Yeah, harbormaster is a bit temperamental these days. I wouldn't worry too much about it reporting problems clearly unrelated to your patch. Btw, do you have commit access, or need someone to commit this for you? Repository: rG LLVM Github Monorepo CHANGES SINCE

[Lldb-commits] [PATCH] D79559: [lldb] Also recognize DWARF UTF base types using their size

2020-05-12 Thread Mathias LANG via Phabricator via lldb-commits
Geod24 updated this revision to Diff 263477. Geod24 added a comment. Merge whitespace-removing commit into the main one Since I can't seem to get arc to comply. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D79559/new/

[Lldb-commits] [PATCH] D79559: [lldb] Also recognize DWARF UTF base types using their size

2020-05-12 Thread Mathias LANG via Phabricator via lldb-commits
Geod24 updated this revision to Diff 263463. Geod24 added a comment. Add missing commit See previous diff. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D79559/new/ https://reviews.llvm.org/D79559 Files:

[Lldb-commits] [PATCH] D79559: [lldb] Also recognize DWARF UTF base types using their size

2020-05-12 Thread Mathias LANG via Phabricator via lldb-commits
Geod24 updated this revision to Diff 263462. Geod24 added a comment. Remove a trailing whitespace in TypeSystemClang.cpp The pre-merge checks are apparently failing, and from what I can gather from the logs, it seems to be because of a whitespace issue: [2020-05-12T16:19:00.309Z] +

[Lldb-commits] [PATCH] D79559: [lldb] Also recognize DWARF UTF base types using their size

2020-05-12 Thread Mathias LANG via Phabricator via lldb-commits
Geod24 updated this revision to Diff 263442. Geod24 added a comment. Remove un-needed main & use x86_64-pc-gnu as target instead of host Since we're not running the program anymore, we no longer need a main. The comment, build step, and IR of the test were updated accordingly. Repository: rG

[Lldb-commits] [PATCH] D79559: [lldb] Also recognize DWARF UTF base types using their size

2020-05-12 Thread Pavel Labath via Phabricator via lldb-commits
labath accepted this revision. labath added a comment. This revision is now accepted and ready to land. Looks great now, just a small tweak to the test case. Comment at: lldb/test/Shell/SymbolFile/DWARF/DW_TAG_basic_type_DW_ATE_UTF_nonC.ll:19 +; +; RUN: %clang_host -g -o %t

[Lldb-commits] [PATCH] D79559: [lldb] Also recognize DWARF UTF base types using their size

2020-05-12 Thread Mathias LANG via Phabricator via lldb-commits
Geod24 updated this revision to Diff 263401. Geod24 added a comment. Changed the test from running to 'type lookup string' Due to bug https://bugs.llvm.org/show_bug.cgi?id=45856 the test was originally runnable, but a non-runnable alternative was suggested during review. Repository: rG LLVM

[Lldb-commits] [PATCH] D79559: [lldb] Also recognize DWARF UTF base types using their size

2020-05-11 Thread Pavel Labath via Phabricator via lldb-commits
labath added a comment. The running aspect is somewhat unfortunate, as it forces the input to be compatible with the host system. I wouldn't be surprised if the test broke somewhere (in fact, I would be surprised if it didn't), because ir already hardcodes a lot of assumptions about the host

[Lldb-commits] [PATCH] D79559: [lldb] Also recognize DWARF UTF base types using their size

2020-05-08 Thread Mathias LANG via Phabricator via lldb-commits
Geod24 updated this revision to Diff 262818. Geod24 added a comment. Added Shell test A shell test was added using LLVM IR. The test has to run the generated binary, as there is currently a (likely) bug that leads to types being printed differently before and after 'run' is issued. Repository:

[Lldb-commits] [PATCH] D79559: [lldb] Also recognize DWARF UTF base types using their size

2020-05-07 Thread Pavel Labath via Phabricator via lldb-commits
labath added a comment. Thanks for the patch. In D79559#2024573 , @Geod24 wrote: > I wasn't sure what would be the best place / how to add an unit test for > this. Could a reviewer provide some pointers ? I think the simplest approach would be to

[Lldb-commits] [PATCH] D79559: [lldb] Also recognize DWARF UTF base types using their size

2020-05-07 Thread Mathias LANG via Phabricator via lldb-commits
Geod24 added a comment. I wasn't sure what would be the best place / how to add an unit test for this. Could a reviewer provide some pointers ? Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D79559/new/ https://reviews.llvm.org/D79559

[Lldb-commits] [PATCH] D79559: [lldb] Also recognize DWARF UTF base types using their size

2020-05-07 Thread Mathias LANG via Phabricator via lldb-commits
Geod24 created this revision. Geod24 added a reviewer: clayborg. Herald added a project: LLDB. Herald added a subscriber: lldb-commits. Geod24 added a comment. I wasn't sure what would be the best place / how to add an unit test for this. Could a reviewer provide some pointers ? The D