-
Notifications
You must be signed in to change notification settings - Fork 12.2k
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
LLVM upgrade #34743
LLVM upgrade #34743
Commits on Jul 29, 2016
-
Configuration menu - View commit details
-
Copy full SHA for d22a9a2 - Browse repository at this point
Copy the full SHA d22a9a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7420874 - Browse repository at this point
Copy the full SHA 7420874View commit details -
[LLVM-3.9] Setup the compile unit information immediately
Since LLVM reversed the order of the debug info graphs, we need to have a compile unit that exists *before* any functions (`DISubprogram`s) are created. This allows the LLVM debug info builder to automatically link the functions to the compile unit.
Configuration menu - View commit details
-
Copy full SHA for fba1f8f - Browse repository at this point
Copy the full SHA fba1f8fView commit details -
[LLVM-3.9] Specify that we are using the legacy interface
LLVM pass manager infrastructure is currently getting rewritten to be more flexible, but the rewrite isn't complete yet.
Configuration menu - View commit details
-
Copy full SHA for 6ed5db8 - Browse repository at this point
Copy the full SHA 6ed5db8View commit details -
[LLVM-3.9] Preserve certain functions when internalizing
This makes sure to still use the old way for older LLVM versions.
Configuration menu - View commit details
-
Copy full SHA for 5b44e10 - Browse repository at this point
Copy the full SHA 5b44e10View commit details -
[LLVM-3.9] Replace NewArchiveIterator with NewArchiveMember
The new NewArchiveMember is simpler and requires less context, according to upstream. This was changed in http://reviews.llvm.org/D21721
Configuration menu - View commit details
-
Copy full SHA for 8433f9b - Browse repository at this point
Copy the full SHA 8433f9bView commit details -
Configuration menu - View commit details
-
Copy full SHA for dbb4178 - Browse repository at this point
Copy the full SHA dbb4178View commit details -
[LLVM-3.9] Configure PIE at the module level instead of compilation u…
…nit level This was deleted here[1] which appears to be replaced by this[2] which is a new setPIELevel function on the LLVM module itself. [1]: http://reviews.llvm.org/D19753 [2]: http://reviews.llvm.org/D19671
Configuration menu - View commit details
-
Copy full SHA for 9e706f9 - Browse repository at this point
Copy the full SHA 9e706f9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 12ccff9 - Browse repository at this point
Copy the full SHA 12ccff9View commit details -
Previously, we had a PositionIndependentExecutable, now we simply choose the highest level. This should be equivalent. :cake:
Configuration menu - View commit details
-
Copy full SHA for deafab1 - Browse repository at this point
Copy the full SHA deafab1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1bc0447 - Browse repository at this point
Copy the full SHA 1bc0447View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1798c1a - Browse repository at this point
Copy the full SHA 1798c1aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2bcb2b8 - Browse repository at this point
Copy the full SHA 2bcb2b8View commit details -
Configuration menu - View commit details
-
Copy full SHA for d0e5aa4 - Browse repository at this point
Copy the full SHA d0e5aa4View commit details -
[LLVM-3.9] Use old way of getting next child
This was changed back in rust-lang/llvm@aacf2fbf
Configuration menu - View commit details
-
Copy full SHA for f439aee - Browse repository at this point
Copy the full SHA f439aeeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 09c3f33 - Browse repository at this point
Copy the full SHA 09c3f33View commit details -
Configuration menu - View commit details
-
Copy full SHA for ad262d5 - Browse repository at this point
Copy the full SHA ad262d5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2c92756 - Browse repository at this point
Copy the full SHA 2c92756View commit details -
Configuration menu - View commit details
-
Copy full SHA for dc7076b - Browse repository at this point
Copy the full SHA dc7076bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 079db4f - Browse repository at this point
Copy the full SHA 079db4fView commit details -
Use C type when passing value to LLVM pass
Previously the C type LLVMRelocMode (available as RelocMode in Rust) was passed as is to the function. However createTargetMachine expects a Reloc::Model, which is an enum just one value short. Additionally, the function was marked as requiring Reloc::Model in the C code, but RelocMode on the Rust-side. We now use the correct C type LLVMRelocMode and convert it to an Optional<Reloc::Model> as expected by the createTargetMachine call the same the original LLVMCreateTargetMachine function does. See https://github.com/llvm-mirror/llvm/blob/c9b262bfbd5b9fb6f10749dba1465569f39bd625/lib/Target/TargetMachineC.cpp#L104-L121 This was found by @eddyb.
Configuration menu - View commit details
-
Copy full SHA for 2c16e24 - Browse repository at this point
Copy the full SHA 2c16e24View commit details -
The passed error needs to be checked. Otherwise it will force an abort when it is deconstructed, but a success value.
Configuration menu - View commit details
-
Copy full SHA for a36595e - Browse repository at this point
Copy the full SHA a36595eView commit details -
Configuration menu - View commit details
-
Copy full SHA for d851428 - Browse repository at this point
Copy the full SHA d851428View commit details -
rustc: Fix data-layout for AArch64 targets
Also relax the assertion whenever we have a custom LLVM root as LLVM may disagree about exact specifics.
Configuration menu - View commit details
-
Copy full SHA for e8f7666 - Browse repository at this point
Copy the full SHA e8f7666View commit details -
test: Remove the execution-engine test
We don't actually officially support this at all, and the execution engine support in LLVM we've had to gut as it's not compiling on MinGW, so just delete this test for now.
Configuration menu - View commit details
-
Copy full SHA for 5fa5578 - Browse repository at this point
Copy the full SHA 5fa5578View commit details -
rustc: Update LLVM to the LLVM 3.9 release branch
The 3.9 release of LLVM isn't out yet, but this moves us onto that branch to start tracking it.
Configuration menu - View commit details
-
Copy full SHA for 75bcda4 - Browse repository at this point
Copy the full SHA 75bcda4View commit details -
Update parsing llvm-config output
Now it prints full paths on MSVC, but we're only interested in path names
Configuration menu - View commit details
-
Copy full SHA for 0509be1 - Browse repository at this point
Copy the full SHA 0509be1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2492d24 - Browse repository at this point
Copy the full SHA 2492d24View commit details -
Configuration menu - View commit details
-
Copy full SHA for 330dd39 - Browse repository at this point
Copy the full SHA 330dd39View commit details -
Configuration menu - View commit details
-
Copy full SHA for f38762a - Browse repository at this point
Copy the full SHA f38762aView commit details -
Apparently MSVC now has namespaces in backtraces!
Configuration menu - View commit details
-
Copy full SHA for 5243072 - Browse repository at this point
Copy the full SHA 5243072View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7c0cd30 - Browse repository at this point
Copy the full SHA 7c0cd30View commit details
Commits on Aug 1, 2016
-
Upgrade LLVM once more to get a bugfix
@tmiasko did some digging and discovered that https://reviews.llvm.org/D22858 may be relevant.
Configuration menu - View commit details
-
Copy full SHA for 5d1d247 - Browse repository at this point
Copy the full SHA 5d1d247View commit details