-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[DO NOT MERGE] Apply Rust patches on release/8.x #1
Commits on Jan 16, 2019
-
Add accessors for MCSubtargetInfo CPU and Feature tables
This is needed for `-C target-cpu=help` and `-C target-feature=help` in rustc
Configuration menu - View commit details
-
Copy full SHA for 865c1f7 - Browse repository at this point
Copy the full SHA 865c1f7View commit details -
Fix compile on dist-i686-linux builder
If this lines are present then we apparently get errors [1] when compiling in the current [2] dist-i686-linux container. Attempts to upgrade both gcc and binutils did not fix the error, so it appears that this may just be a bug in the super old glibc we're using on the dist-i686-linux container. We don't actually need this code anyway, so just work around these issues by removing references to the `*64` functions. This'll get things compiling locally and shouldn't be a regression in functionality. [1]: https://travis-ci.org/rust-lang/rust/jobs/257578199 [2]: https://github.com/rust-lang/rust/tree/eba9d7f08ce5c90549ee52337aca0010ad566f0d/src/ci/docker/dist-i686-linux
Configuration menu - View commit details
-
Copy full SHA for 122c3dc - Browse repository at this point
Copy the full SHA 122c3dcView commit details -
Disable checks for libatomic for now
For whatever reason this is failing the i686-freebsd builder in the Rust repo as-of this red-hot moment. The build seems to work fine without it so let's just remove it for now and pray there's a better fix later. Although if you're reading this and know of a better fix, we'd love to remove this!
Configuration menu - View commit details
-
Copy full SHA for b73884a - Browse repository at this point
Copy the full SHA b73884aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 392947a - Browse repository at this point
Copy the full SHA 392947aView commit details -
Fix compile on dist-x86_64-linux builder
Apparently glibc is so old it doesn't have the _POSIX_ARG_MAX constant. This shouldn't affect anything we use anyway though. https://travis-ci.org/rust-lang/rust/jobs/399333071
Configuration menu - View commit details
-
Copy full SHA for bd18bd8 - Browse repository at this point
Copy the full SHA bd18bd8View commit details -
Can't seem to figure out how to do this without this patch...
Configuration menu - View commit details
-
Copy full SHA for b1ec4cb - Browse repository at this point
Copy the full SHA b1ec4cbView commit details -
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 1ecf8ed - Browse repository at this point
Copy the full SHA 1ecf8edView commit details -
This was needed for the Rust plugin
Configuration menu - View commit details
-
Copy full SHA for 9fa3339 - Browse repository at this point
Copy the full SHA 9fa3339View 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 e6a7452 - Browse repository at this point
Copy the full SHA e6a7452View commit details -
Configuration menu - View commit details
-
Copy full SHA for ea4ac97 - Browse repository at this point
Copy the full SHA ea4ac97View commit details -
Configuration menu - View commit details
-
Copy full SHA for df47965 - Browse repository at this point
Copy the full SHA df47965View 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 b8bd5dc - Browse repository at this point
Copy the full SHA b8bd5dcView 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 llvm#16
Configuration menu - View commit details
-
Copy full SHA for 02ddf76 - Browse repository at this point
Copy the full SHA 02ddf76View 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 0e77fbd - Browse repository at this point
Copy the full SHA 0e77fbdView 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 0322285 - Browse repository at this point
Copy the full SHA 0322285View 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 d957e27 - Browse repository at this point
Copy the full SHA d957e27View 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 llvm#21
Configuration menu - View commit details
-
Copy full SHA for 463cd70 - Browse repository at this point
Copy the full SHA 463cd70View 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 945de34 - Browse repository at this point
Copy the full SHA 945de34View 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 ff0a15a - Browse repository at this point
Copy the full SHA ff0a15aView 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 llvm#22
Configuration menu - View commit details
-
Copy full SHA for 28e0138 - Browse repository at this point
Copy the full SHA 28e0138View commit details -
This disables aaan enum type name test that is failing with git master rustc. See llvm#24.
Configuration menu - View commit details
-
Copy full SHA for af32307 - Browse repository at this point
Copy the full SHA af32307View 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 2ed5e5d - Browse repository at this point
Copy the full SHA 2ed5e5dView commit details -
Read template parameters for function types
Read DW_TAG_template_type_parameter and apply to function types. Closes llvm#5
Configuration menu - View commit details
-
Copy full SHA for 8027847 - Browse repository at this point
Copy the full SHA 8027847View 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 0fb81ce - Browse repository at this point
Copy the full SHA 0fb81ceView commit details -
Configuration menu - View commit details
-
Copy full SHA for a27fbee - Browse repository at this point
Copy the full SHA a27fbeeView commit details