- Aug 22, 2009
-
-
Daniel Dunbar authored
(external was really undefined and there wasn't an explicit representation for absolute symbols). - This still needs some cleanup to how the absolute "pseudo" section is dealt with, but I haven't figured out the nicest approach yet. llvm-svn: 79733
-
Eric Christopher authored
llvm-svn: 79698
-
Daniel Dunbar authored
(e.g., .objc_message_refs). - Just emit a .align when we see the directive; this isn't exactly what 'as' does but in practice it should be ok, at least for now. See FIXME. llvm-svn: 79697
-
Eric Christopher authored
llvm-svn: 79696
-
Daniel Dunbar authored
count is given (this matches 'as'). llvm-svn: 79683
-
- Aug 21, 2009
-
-
Daniel Dunbar authored
llvm-svn: 79635
-
Daniel Dunbar authored
- Together these form the (Mach-O) back end of the assembler. - MCAssembler is the actual assembler backend, which is designed to have a reasonable API. This will eventually grow to support multiple object file implementations, but for now its Mach-O/i386 only. - MCMachOStreamer adapts the MCStreamer "actions" API to the MCAssembler API, e.g. converting the various directives into fragments, managing state like the current section, and so on. - llvm-mc will use the new backend via '-filetype=obj', which may eventually be, but is not yet, since I hear that people like assemblers which actually assemble. - The only thing that works at the moment is changing sections. For the time being I have a Python Mach-O dumping tool in test/scripts so this stuff can be easily tested, eventually I expect to replace this with a real LLVM tool. - More doxyments to come. I assume that since this stuff doesn't touch any of the things which are part of 2.6 that it is ok to put this in not so long before the freeze, but if someone objects let me know, I can pull it. llvm-svn: 79612
-
Daniel Dunbar authored
- Add missing flags for various Objective-C sections. - Fix names for [non_]lazy_symbol_pointer (these are misspelled in the manual). - .symbol_stub does not have the self modifying code flag set (this appears to be wrong in the manual?). - Add implicit alignment values; not yet used. Also, call MCStreamer::Finish at the end of a successful parse. llvm-svn: 79611
-
Daniel Dunbar authored
llvm-svn: 79604
-
- Aug 19, 2009
-
-
Daniel Dunbar authored
llvm-svn: 79427
-
Benjamin Kramer authored
llvm-svn: 79418
-
Benjamin Kramer authored
Add a hack to unbreak MSVC builds. str(n)casecmp are POSIX functions and aren't available on windows (mingw defines them though). llvm-svn: 79417
-
- Aug 18, 2009
-
-
Nick Lewycky authored
the problem. llvm-svn: 79322
-
Chris Lattner authored
llvm-svn: 79310
-
Daniel Dunbar authored
- This is cleaner, and makes bugpoint match the host instead of the build architecture. - Patch by Sandeep Patel! llvm-svn: 79309
-
Anton Korobeynikov authored
try to use i686-darwin to build for arm-eabi, you'll quickly run into several false assumptions that the target OS must be the same as the host OS. These patches split $(OS) into $(HOST_OS) and $(TARGET_OS) to help builds like "make check" and the test-suite able to cross compile. Along the way a target of *-unknown-eabi is defined as "Freestanding" so that TARGET_OS checks have something to work with. Patch by Sandeep Patel! llvm-svn: 79296
-
- Aug 17, 2009
-
-
Chris Lattner authored
llvm-svn: 79222
-
- Aug 16, 2009
-
-
Oscar Fuentes authored
CMake: Discriminate MINGW, MSYS, CYGWIN: does not try to build llvm-config under mingw without msys. llvm-svn: 79202
-
- Aug 14, 2009
-
-
Daniel Dunbar authored
llvm-svn: 79010
-
Oscar Fuentes authored
It doesn't stop or reconfigure the build, though, so the user will see a broken build that magically succeeds at the next attempt. It is technically possible to halt the build with a helpful message, and even to automatically restart the build using the new dependencies as it we did when llvm-config was used by cmake for learning dependencies. This is left on the TODO list. llvm-svn: 79004
-
Oscar Fuentes authored
necessary for the changes being effective on the successive targets llvm-svn: 78989
-
Daniel Dunbar authored
specific printer (this only works on x86, for now). - This makes it possible to do some correctness checking of the parsing and matching, since we can compare the results of 'as' on the original input, to those of 'as' on the output from llvm-mc. - In theory, we could now have an easy ATT -> Intel syntax converter. :) llvm-svn: 78986
-
Daniel Dunbar authored
llvm-svn: 78980
-
Oscar Fuentes authored
llvm-svn: 78975
-
- Aug 13, 2009
-
-
Owen Anderson authored
llvm-svn: 78948
-
Dan Gohman authored
llvm-svn: 78915
-
Daniel Dunbar authored
- Patch by Erick Tryzelaar llvm-svn: 78880
-
Dan Gohman authored
llvm-svn: 78848
-
- Aug 12, 2009
-
-
Oscar Fuentes authored
llvm-svn: 78788
-
Oscar Fuentes authored
of cmake. llvm-svn: 78768
-
- Aug 11, 2009
-
-
Daniel Dunbar authored
evaluation. llvm-svn: 78692
-
Benjamin Kramer authored
llvm-svn: 78690
-
Benjamin Kramer authored
llvm-svn: 78660
-
Daniel Dunbar authored
llvm-svn: 78641
-
Daniel Dunbar authored
llvm-svn: 78640
-
Daniel Dunbar authored
yet (I'm not even sure what they do). llvm-svn: 78639
-
Daniel Dunbar authored
(and outputting a diagnostic pointing at the wrong place), all of which lead to much confusion. llvm-svn: 78637
-
Jim Grosbach authored
and short. Well, it's kinda short. Definitely nasty and brutish. The front-end generates the register/unregister calls into the SjLj runtime, call-site indices and landing pad dispatch. The back end fills in the LSDA with the call-site information provided by the front end. Catch blocks are not yet implemented. Built on Darwin and verified no llvm-core "make check" regressions. llvm-svn: 78625
-
- Aug 10, 2009
-
-
Chris Lattner authored
llvm-svn: 78576
-
Chris Lattner authored
llvm-svn: 78575
-