Displaying 7 results from an estimated 7 matches for "canexitearly".
2018 Jul 25
2
LLD COFF library: crashes when lld::coff::link is called twice
...zig.exe!`anonymous namespace'::Writer::run() Line 288 C++
zig.exe!lld::coff::writeResult() Line 166 C++
zig.exe!lld::coff::LinkerDriver::link(llvm::ArrayRef<char const *>
ArgsArr) Line 1331 C++
zig.exe!lld::coff::link(llvm::ArrayRef<char const *> Args, bool
CanExitEarly, llvm::raw_ostream & Diag) Line 71 C++
zig.exe!ZigLLDLink(ZigLLVM_ObjectFormatType oformat, const char * *
args, unsigned __int64 arg_count, void(*)(void *, const char *, unsigned
__int64) append_diagnostic, void * context) Line 837 C++
zig.exe!zig_lld_link(ZigLLVM_ObjectFormatT...
2018 Aug 08
2
LLD COFF library: crashes when lld::coff::link is called twice
+Rui and Peter
On Wed, Jul 25, 2018 at 8:34 AM, Andrew Kelley via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
> Here's a fix:
>
> --- a/lld/COFF/Driver.cpp
> +++ b/lld/COFF/Driver.cpp
> @@ -72,6 +72,9 @@ bool link(ArrayRef<const char *> Args, bool CanExitEarly,
> raw_ostream &Diag) {
> exitLld(errorCount() ? 1 : 0);
>
> freeArena();
> + ObjFile::Instances.clear();
> + ImportFile::Instances.clear();
> + BitcodeFile::Instances.clear();
> return !errorCount();
> }
>
> I don't know how to make a test fo...
2017 Aug 31
2
LLD: patch to fix libCOFF calling exit() on success in a library function
Correct, I am using libCOFF, libELF, and libMACHO all as a library. Ideally
all cases would return and report an error and clean up memory, etc,
instead of calling exit. However this is sufficient for my needs for now.
It is ok for LLD to crash if I supply an invalid command line argument, I
won't do that.
On Thu, Aug 31, 2017 at 5:47 PM, Rui Ueyama <ruiu at google.com> wrote:
>
2018 Mar 20
2
lld/lto/win32 crash on DIE code
...C++
Symbols loaded.
lld.exe!lld::coff::SymbolTable::addCombinedLTOObjects() Line 389 C++
Symbols loaded.
lld.exe!lld::coff::LinkerDriver::link(llvm::ArrayRef<char const *>
ArgsArr) Line 1366 C++ Symbols loaded.
lld.exe!lld::coff::link(llvm::ArrayRef<char const *> Args, bool
CanExitEarly, llvm::raw_ostream & Diag) Line 75 C++ Symbols loaded.
lld.exe!main(int Argc, const char * * Argv) Line 129 C++ Symbols loaded.
lld.exe!invoke_main() Line 78 C++ Symbols loaded.
lld.exe!__scrt_common_main_seh() Line 283 C++ Symbols loaded.
lld.exe!__scrt_common_main() Line 326 C++ S...
2018 Mar 20
0
lld/lto/win32 crash on DIE code
This one triggers an assertion in calculateSEHStateNumbers due to weird catchpad instruction
in @_island_debug_invoke and many other functions. The code expects either pointer to a filter
function or null in first operand, while you're passing pointer to structure:
catchpad within %80 [{i8*, i8*}* anon..., ...]
________________________________________
От: Carlo Kok <ck at
2018 Mar 21
0
lld/lto/win32 crash on DIE code
...lld.exe!lld::coff::SymbolTable::addCombinedLTOObjects() Line 389 C++
Symbols loaded.
lld.exe!lld::coff::LinkerDriver::link(llvm::ArrayRef<char const *>
ArgsArr) Line 1366 C++ Symbols loaded.
lld.exe!lld::coff::link(llvm::ArrayRef<char const *> Args, bool
CanExitEarly, llvm::raw_ostream & Diag) Line 75 C++ Symbols loaded.
lld.exe!main(int Argc, const char * * Argv) Line 129 C++ Symbols loaded.
lld.exe!invoke_main() Line 78 C++ Symbols loaded.
lld.exe!__scrt_common_main_seh() Line 283 C++ Symbols loaded....
2018 Mar 20
2
lld/lto/win32 crash on DIE code
Op 16-3-2018 om 20:16 schreef Evgeny Leviant:
> Hello Carlo,
>
> I tried your reproducer and faced different problem from one you described
> (I'm using MacOS Sierra and lld built from trunk on Mar, 15). The crash happens
> when SelectionDAGBuilder::lowerInvokable tries to access EH info of this function:
>
>