Go to file
Saleem Abdulrasool 44419fc3cd ARM IAS: properly handle function entries in .thumb
When a label is parsed, check if there is type information available for the
label.  If so, check if the symbol is a function.  If the symbol is a function
and we are in thumb mode and no explicit thumb_func has been emitted, adjust the
symbol data to indicate that the function definition is a thumb function.

The application of this inferencing is improved value handling in the object
file (the required thumb bit is set on symbols which are thumb functions).  It
also helps improve compatibility with binutils.

The one complication that arises from this handling is the MCAsmStreamer.  The
default implementation of getOrCreateSymbolData in MCStreamer does not support
tracking the symbol data.  In order to support the semantics of thumb functions,
track symbol data in assembly streamer.  Although O(n) in number of labels in
the TU, this is already done in various other streamers and as such the memory
overhead is not a practical concern in this scenario.

llvm-svn: 204544
2014-03-22 19:26:18 +00:00
clang Revert r204493, "Make clang/test/lit.cfg pre-scan the RUN line looking for tool names," 2014-03-22 04:46:59 +00:00
clang-tools-extra ClangTidyContext: Don't use initializer on non-static member. 2014-03-20 10:53:03 +00:00
compiler-rt Avoid GCC's "cast from pointer to integer of different size" warning. 2014-03-21 21:45:49 +00:00
debuginfo-tests relax testcase for LLDB output format compatibility. 2014-03-19 23:06:18 +00:00
libclc Add sincos 2014-03-21 16:22:01 +00:00
libcxx Implement N3891: A proposal to rename shared_mutex to shared_timed_mutex 2014-03-17 20:19:44 +00:00
libcxxabi Simplify. 2014-03-20 01:28:28 +00:00
lld [Mips] Make the test to be a bit more relaxed to lld YAML output. 2014-03-22 06:20:38 +00:00
lldb If a single step ends on a breakpoint, it should be reported as a breakpoint hit 2014-03-22 00:44:41 +00:00
llvm ARM IAS: properly handle function entries in .thumb 2014-03-22 19:26:18 +00:00
openmp Revert commit (testing commit hook). 2014-03-04 18:06:04 +00:00
polly Return conservative result in case the dependence check timed out 2014-03-21 15:12:09 +00:00