-
Notifications
You must be signed in to change notification settings - Fork 225
Comparing changes
Open a pull request
base repository: llvm-mirror/lldb
base: master
head repository: rust-lang/lldb
compare: rust-release-80-v2
- 18 commits
- 56 files changed
- 1 contributor
Commits on Nov 27, 2018
-
This adds Rust support to Mangled. I am not completely certain that this is needed (or alternatively that it does enough, maybe Mangled::GuessLanguage needs a Rust case). This should be checked before attempting to upstream.
Configuration menu - View commit details
-
Copy full SHA for 8bbb72a - Browse repository at this point
Copy the full SHA 8bbb72aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 707df0a - Browse repository at this point
Copy the full SHA 707df0aView commit details -
Add a missing TypeAndOrName constructor
Add a TypeAndOrName constructor that was declared but not defined. This is used in the Rust plugin. See https://reviews.llvm.org/D44752
Configuration menu - View commit details
-
Copy full SHA for e8ba344 - Browse repository at this point
Copy the full SHA e8ba344View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a642db - Browse repository at this point
Copy the full SHA 0a642dbView commit details -
Configuration menu - View commit details
-
Copy full SHA for a0fc10c - Browse repository at this point
Copy the full SHA a0fc10cView commit details -
Compute Python library suffix in CMakeLists.txt
Introduce LLDB_PY_LIB_SUFFIX and use it in various places in the build. This lets the x.py-based build work properly without having to set LLVM_LIBDIR_SUFFIX. See https://bugs.llvm.org/show_bug.cgi?id=18957 for some discussion.
Configuration menu - View commit details
-
Copy full SHA for 8e114ff - Browse repository at this point
Copy the full SHA 8e114ffView commit details -
Do not crash when enum discriminant is not recognized
Sometimes the DWARF can omit information about a discriminant, for example when an Option shares a discriminant slot with an enum that it wraps. In this case, lldb could crash, because the discriminant was not found and because there was no default variant. No test case because this relies on a compiler bug that will soon be fixed. Fixes #16
Configuration menu - View commit details
-
Copy full SHA for 774fbad - Browse repository at this point
Copy the full SHA 774fbadView commit details -
Use correct include path for State.h
While rebasing to master, I missed a spot where an include file was moved. I believe my local build was picking up an installed copy of the header, causing it to succeed locally.
Configuration menu - View commit details
-
Copy full SHA for 49b1456 - Browse repository at this point
Copy the full SHA 49b1456View commit details -
Add "rust-enabled" to --version output
This adds "rust-enabled" to the --version output, so it's easier to tell if lldb has rust support.
Configuration menu - View commit details
-
Copy full SHA for f53e334 - Browse repository at this point
Copy the full SHA f53e334View commit details -
This fixes a couple of problems noticed while debugging the rust compiler change to use DW_TAG_variant_part: * IterableDIEChildren returned one extra DIE, because it did not preserve the CU in end() * The entire block dealing with DW_TAG_variant_part was erroneously inside the DW_TAG_member case.
Configuration menu - View commit details
-
Copy full SHA for ac55308 - Browse repository at this point
Copy the full SHA ac55308View commit details -
This gives numeric names to tuple fields, because lldb clients expect fields to have names, and because using plain numbers seemed most rust-like. Closes #21
Configuration menu - View commit details
-
Copy full SHA for 94380a7 - Browse repository at this point
Copy the full SHA 94380a7View commit details -
Rename tuple fields after discriminant is removed
When the discriminant is removed from an enum's members, be sure to rename the fields of any tuple type. This fixes a bug introduced in yesterday's patch.
Configuration menu - View commit details
-
Copy full SHA for 54cafd1 - Browse repository at this point
Copy the full SHA 54cafd1View commit details -
Fix field names when emitting a C structure
Prepend an underscore to field names when emitting a C structure, to ensure that tuple fields have valid names.
Configuration menu - View commit details
-
Copy full SHA for f2dc66a - Browse repository at this point
Copy the full SHA f2dc66aView commit details -
Remove by-name cache from RustASTContext
Remove the by-name cache from RustASTContext. This was not needed and could interact badly with the DWARF parser. Closes #22
Configuration menu - View commit details
-
Copy full SHA for fb2a1e7 - Browse repository at this point
Copy the full SHA fb2a1e7View commit details -
This disables aaan enum type name test that is failing with git master rustc. See #24.
Configuration menu - View commit details
-
Copy full SHA for 5ec9375 - Browse repository at this point
Copy the full SHA 5ec9375View commit details -
Read template parameters for structure types
Read DW_TAG_template_type_parameter and apply to structure types.
Configuration menu - View commit details
-
Copy full SHA for 47ae5a9 - Browse repository at this point
Copy the full SHA 47ae5a9View commit details -
Read template parameters for function types
Read DW_TAG_template_type_parameter and apply to function types. Closes #5
Configuration menu - View commit details
-
Copy full SHA for 403f869 - Browse repository at this point
Copy the full SHA 403f869View commit details -
Fix the build after the rebase
The rebase onto a later git master lldb required a change to RustASTContext.
Configuration menu - View commit details
-
Copy full SHA for 8ad0817 - Browse repository at this point
Copy the full SHA 8ad0817View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff master...rust-release-80-v2