Displaying 3 results from an estimated 3 matches for "shouldemitmoves".
2014 Feb 10
2
[LLVMdev] [cfe-dev] Unwind behaviour in Clang/LLVM
...>
> Is there any definitive explanation on the complete semantics of
> uwtables and nounwind? I could be wrong, but from what I can see,
> beginFunction() is based on circumstantial behaviour, not explicit
> semantics.
I agree that the logic in there seems a bit odd. What is called
shouldEmitMoves should probably include all possible
reasons for printing the unwind tables. We should probably also use
uwtable to guard the emission of other table formats
as you propose.
The semantics uwtable is just "make sure it is possible to unwind past
this function". It doesn't include anyt...
2014 Feb 10
2
[LLVMdev] [cfe-dev] Unwind behaviour in Clang/LLVM
> I disagree on this. Table emission by itself doesn't involve code
> generation and I don't think it makes sense as a per function attribute
> either. You either want it for all functions or only when needed (e.g.
> exceptions are possible). As such, it makes perfect sense to me as a
> global flag.
It has to be an attribute because of LTO. You can LTO a file compiled
with
2013 Dec 19
1
[LLVMdev] [PATCH] MC: handle .cfi_startproc simple
...Exception.cpp
> index fec5ced..13f5fc3 100644
> --- a/lib/CodeGen/AsmPrinter/DwarfCFIException.cpp
> +++ b/lib/CodeGen/AsmPrinter/DwarfCFIException.cpp
> @@ -113,7 +113,7 @@ void DwarfCFIException::BeginFunction(const MachineFunction *MF) {
> if (!shouldEmitPersonality && !shouldEmitMoves)
> return;
>
> - Asm->OutStreamer.EmitCFIStartProc();
> + Asm->OutStreamer.EmitCFIStartProc(false);
>
> // Indicate personality routine, if any.
> if (!shouldEmitPersonality)
> diff --git a/lib/MC/MCAsmStreamer.cpp b/lib/MC/MCAsmStreamer.cpp
> index 781...