- May 30, 2008
-
-
Eli Friedman authored
This fixes a crash on the included testcase (found in NetHack). llvm-svn: 51767
-
Matthijs Kooijman authored
insertvalue / extractvalue instructions. llvm-svn: 51766
-
Sanjiv Gupta authored
llvm-svn: 51765
-
Eli Friedman authored
llvm-svn: 51764
-
Eli Friedman authored
bit-field initialization; ugly code, X86-only, but it works, at least for basic stuff. Separates/adds union initialization; currently disabled, though, because the struct/array code needs modifications to support elements of the wrong type. Fixes PR2381 and PR2309 with the bit-field initialization. And NetHack compiles and appears to work with a few tweaks (to work around the lack of transparent_union support, and clang being a bit strict about conflicting declarations). llvm-svn: 51763
-
Eli Friedman authored
and union codepaths and fixes some minor bugs. I'm reasonably confident this is accurate, at least for X86. I'll correct any bugs as I find them; I haven't found any for a while, though. llvm-svn: 51762
-
Bill Wendling authored
llvm-svn: 51761
-
Mikhail Glushenkov authored
llvm-svn: 51760
-
Mikhail Glushenkov authored
llvm-svn: 51759
-
Mikhail Glushenkov authored
llvm-svn: 51758
-
Mikhail Glushenkov authored
llvm-svn: 51757
-
Mikhail Glushenkov authored
llvm-svn: 51756
-
Mikhail Glushenkov authored
llvm-svn: 51755
-
Mikhail Glushenkov authored
It can be handy to have all information about options gathered in a single place to provide an overview of all supported options. This patch allows the following: def Options : OptionList<[ (switch_option "E", (help "Help string")), (alias_option "quiet", "q") ... ]>; Tool-specific option properties (like 'append_cmd') have (obviously) no meaning in this context, so the only properties that are allowed are 'help' and 'required'. See usage example in examples/Clang.td. llvm-svn: 51754
-
Mikhail Glushenkov authored
llvm-svn: 51753
-
Mikhail Glushenkov authored
llvm-svn: 51752
-
Mikhail Glushenkov authored
The following is now allowed: (case (not_empty "o"), do_something, ...) This didn't work previously because "-o" is built-in. llvm-svn: 51751
-
Mikhail Glushenkov authored
llvm-svn: 51750
-
Mikhail Glushenkov authored
llvm-svn: 51749
-
Mikhail Glushenkov authored
The following is now legal: (case (in_language "c"), (case (switch_on "E"), "gcc -x c -E $INFILE", (default), "gcc -x c $INFILE"), (default), "gcc $INFILE $OUTFILE") llvm-svn: 51748
-
Mikhail Glushenkov authored
llvm-svn: 51747
-
Mikhail Glushenkov authored
There are now no situations when 'default' is required. llvm-svn: 51746
-
Mikhail Glushenkov authored
llvm-svn: 51745
-
Mikhail Glushenkov authored
llvm-svn: 51744
-
Mikhail Glushenkov authored
llvm-svn: 51743
-
Mikhail Glushenkov authored
llvm-svn: 51742
-
Mikhail Glushenkov authored
llvm-svn: 51741
-
Mikhail Glushenkov authored
llvm-svn: 51740
-
Mikhail Glushenkov authored
llvm-svn: 51739
-
Mikhail Glushenkov authored
llvm-svn: 51738
-
Mikhail Glushenkov authored
llvm-svn: 51737
-
Mikhail Glushenkov authored
llvm-svn: 51736
-
Mikhail Glushenkov authored
llvm-svn: 51735
-
Mikhail Glushenkov authored
llvm-svn: 51734
-
Mikhail Glushenkov authored
For instance, the following command: llvmc2 -E hello.c now generates a file with the correct suffix (hello.i). llvm-svn: 51733
-
Mikhail Glushenkov authored
Used like this: (cmd_line "$CALL(MyHook) --option -o $ENV(VARIABLE) $CALL(AnotherHook)") Also works with case expressions. Hook declarations are auto-generated, the definitions should be provided by the user (just drop a .cpp file in the tools/llvmc2 directory). Hooks should live in the "hooks" namespace and have type std::string hooks::Hook(void). llvm-svn: 51732
-
Mikhail Glushenkov authored
llvm-svn: 51731
-
Mikhail Glushenkov authored
llvm-svn: 51730
-
Mikhail Glushenkov authored
llvm-svn: 51729
-
Mikhail Glushenkov authored
llvm-svn: 51728
-