lp:~vcs-imports/llvm/llvm-gcc-4.2-trunk

Created by Jelmer Vernooij and last modified
Get this branch:
bzr branch lp:~vcs-imports/llvm/llvm-gcc-4.2-trunk

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
VCS imports
Project:
LLVM
Status:
Development

Import details

Import Status: Failed

This branch is an import of the Subversion branch from http://llvm.org/svn/llvm-project/llvm-gcc-4.2/trunk.

The import has been suspended because it failed 5 or more times in succession.

Last successful import was .

Import started on alnitak and finished taking 20 seconds — see the log
Import started on izar and finished taking 15 seconds — see the log
Import started on alnitak and finished taking 20 seconds — see the log
Import started on alnitak and finished taking 25 seconds — see the log

Recent revisions

2831. By void

Convert to the new attribute query format.

2830. By void

The 0x10 flag wasn't used so it's no longer being set. Don't test for it here.

2829. By dyatkovskiy

Compatability fix for SwitchInst refactoring.

The purpose of refactoring is to hide operand roles from SwitchInst user (programmer). If you want to play with operands directly, probably you will need lower level methods than SwitchInst ones (TerminatorInst or may be User). After this patch we can reorganize SwitchInst operands and successors as we want.

What was done:

1. Changed semantics of index inside the getCaseValue method:
getCaseValue(0) means "get first case", not a condition. Use getCondition() if you want to resolve the condition. I propose don't mix SwitchInst case indexing with low level indexing (TI successors indexing, User's operands indexing), since it may be dangerous.
2. By the same reason findCaseValue(ConstantInt*) returns actual number of case value. 0 means first case, not default. If there is no case with given value, ErrorIndex will returned.
3. Added getCaseSuccessor method. I propose to avoid usage of TerminatorInst::getSuccessor if you want to resolve case successor BB. Use getCaseSuccessor instead, since internal SwitchInst organization of operands/successors is hidden and may be changed in any moment.
4. Added resolveSuccessorIndex and resolveCaseIndex. The main purpose of these methods is to see how case successors are really mapped in TerminatorInst.
4.1 "resolveSuccessorIndex" was created if you need to level down from SwitchInst to TerminatorInst. It returns TerminatorInst's successor index for given case successor.
4.2 "resolveCaseIndex" converts low level successors index to case index that curresponds to the given successor.

Note: There are also related compatability fix patches for dragonegg, klee, llvm-gcc-4.0, llvm-gcc-4.2, safecode, clang.

2828. By d0k

Fix the dead compiler once more.

2827. By bwilson

Stop including the default arm slice in libgcc_s.1.dylib.
This is redundant as of svn r145650, which makes the default be armv7, since
there is already an explicit armv7 multilib.

2826. By venkatra

Call LLVM_SET_TARGET_MACHINE_OPTIONS() only if it is defined.

2825. By bwilson

Don't install symlinks in /usr/bin if not installing into /Developer.
<rdar://problem/10359031>

2824. By bwilson

Use xcrun to find clang, instead of hardcoded /Developer/usr/bin path.

2823. By bwilson

Don't hardcode the /Developer path when installing man pages. <rdar://10359031>

2822. By bwilson

Fix llvm-gcc to match llvm svn r146522.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.

Subscribers

No subscribers.