Displaying 11 results from an estimated 11 matches for "safeseh".
2018 Aug 20
2
Windows "0xC00001A5: An invalid exception handler routine has been detected" with LLVM win32 (i386) SEH code
Indeed, it's 32bits x86 and there's no .safeseh or anything like it,
even readobj -coff-load-config says nothing:
File: ConsoleApplication830.exe
Format: COFF-i386
Arch: i386
AddressSize: 32bit
Now I know what to look for, thanks!
On Mon, Aug 20, 2018, at 18:46, Reid Kleckner wrote:
> This is 32-bit x86, right? Sounds like the exception h...
2019 Feb 18
2
lld-link fails to link 32bits assembly functions but 64bits pass
...ain.c /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /EHs-c- /GR- /GF /Gy /Zi /Gw -m64
$ ~/llvm/releaseinstall/bin/lld-link main.obj foo.obj /NOLOGO /NODEFAULTLIB /IGNORE:4001 /OPT:REF /OPT:ICF=10 /ALIGN:32 /SECTION:.xdata,D /SECTION:.pdata,D /DLL /ENTRY:main /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER /SAFESEH:NO /BASE:0 /DRIVER: /DEBUG:GHASH /Machine:X64
But 32bits linking fails with error of Foo assembly function is a undefined symbol:
$ nasm foo.nasm -Ox -f win32 -g -o foo.obj
$ ~/llvm/releaseinstall/bin/clang-cl main.c /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /EHs-c- /GR- /GF /Gy /Zi /Gw -m...
2018 Aug 20
2
Windows "0xC00001A5: An invalid exception handler routine has been detected" with LLVM win32 (i386) SEH code
Hi,
I'm getting:
Unhandled exception at 0x00C211F0 in ConsoleApplication830.exe: 0xC00001A5: An invalid exception handler routine has been detected (parameters: 0x00000001).
With some fairly simple SEH enabled routine:
define i32 @__elements_entry_point_main(%._gt2a_RemObjects_d_Elements_d_System_d_Array_t_1s*) #0 personality i8* bitcast (i32 ()* @_elements_exception_handler to i8*) !dbg
2019 Sep 28
3
lld-link with MSVC6 object files
Hi,
I have a question about lld-link. What obj file formats should it support?
When I try to use an obj from msvc 6.0 it complains that the file magic is
not valid.
However when running llvm-objdump it reports:
test1.obj: file format COFF-i386
Disassembly of section .text:
0000000000000000 _main:
0: 68 00 00 00 00 pushl $0
5: e8 00 00 00 00 calll 0
2019 Feb 18
2
lld-link fails to link 32bits assembly functions but 64bits pass
...s-c- /GR- /GF /Gy /Zi /Gw -m64
> >
> > $ ~/llvm/releaseinstall/bin/lld-link main.obj foo.obj /NOLOGO
> /NODEFAULTLIB
> > /IGNORE:4001 /OPT:REF /OPT:ICF=10 /ALIGN:32 /SECTION:.xdata,D
> > /SECTION:.pdata,D /DLL /ENTRY:main
> /SUBSYSTEM:EFI_BOOT_SERVICE_DRIVER
> > /SAFESEH:NO /BASE:0 /DRIVER: /DEBUG:GHASH /Machine:X64
> >
> >
> >
> > But 32bits linking fails with error of Foo assembly function is a undefined
> > symbol:
> >
> > $ nasm foo.nasm -Ox -f win32 -g -o foo.obj
> >
> > $ ~/llvm/releaseinstall/bin/clang-cl...
2017 Jun 14
2
Using LLD to create a .lib from a .def
...faultLibs;
bool NoDefaultLibAll = false;
// True if we are creating a DLL.
bool DLL = false;
StringRef Implib;
std::vector<Export> Exports;
std::set<std::string> DelayLoads;
std::map<std::string, int> DLLOrder;
SymbolBody *DelayLoadHelper = nullptr;
// Used for SafeSEH.
Symbol *SEHTable = nullptr;
Symbol *SEHCount = nullptr;
// Used for /opt:lldlto=N
unsigned LTOOptLevel = 2;
// Used for /opt:lldltojobs=N
unsigned LTOJobs = 1;
// Used for /merge:from=to (e.g. /merge:.rdata=.text)
std::map<StringRef, StringRef> Merge;
// Used for /secti...
2017 Jun 15
2
Using LLD to create a .lib from a .def
...g a DLL.
>> bool DLL = false;
>> StringRef Implib;
>> std::vector<Export> Exports;
>> std::set<std::string> DelayLoads;
>> std::map<std::string, int> DLLOrder;
>> SymbolBody *DelayLoadHelper = nullptr;
>>
>> // Used for SafeSEH.
>> Symbol *SEHTable = nullptr;
>> Symbol *SEHCount = nullptr;
>>
>> // Used for /opt:lldlto=N
>> unsigned LTOOptLevel = 2;
>>
>> // Used for /opt:lldltojobs=N
>> unsigned LTOJobs = 1;
>>
>> // Used for /merge:from=to (e.g. /...
2017 Jun 16
2
Using LLD to create a .lib from a .def
...StringRef Implib;
>>>> std::vector<Export> Exports;
>>>> std::set<std::string> DelayLoads;
>>>> std::map<std::string, int> DLLOrder;
>>>> SymbolBody *DelayLoadHelper = nullptr;
>>>>
>>>> // Used for SafeSEH.
>>>> Symbol *SEHTable = nullptr;
>>>> Symbol *SEHCount = nullptr;
>>>>
>>>> // Used for /opt:lldlto=N
>>>> unsigned LTOOptLevel = 2;
>>>>
>>>> // Used for /opt:lldltojobs=N
>>>> unsigned LTO...
2020 May 08
0
Wine release 5.8
...0: Add _fltused symbol.
configure: Assume that -delayload linker argument is supported when -target argument is used.
configure: Allow specifying default CROSSTARGET as configure argument.
configure: Explicitly specify subsystem when using msvc target.
winebuild: Introduce --safeseh option that allows marking assembly files as SEH compatible.
winegcc: Use --safeseh winebuild option on msvc target.
msdmo: Use proper buffer types in IEnumDMO::Next.
winuser.h: Add touch event flags.
comdlg32: Improve error handling in get_config_key_string.
Jactry Zeng (6...
2018 Feb 09
0
[Release-testers] [6.0.0 Release] Release Candidate 2 tagged
...:: COFF/pdb-import-gc.yaml
lld :: COFF/pdb-invalid-func-type.yaml
lld :: COFF/pdb-lib.s
lld :: COFF/pdb-linker-module.test
lld :: COFF/pdb-none.test
lld :: COFF/pdb-options.test
lld :: COFF/pdb-procid-remapping.test
lld :: COFF/pdb-publics-import.test
lld :: COFF/pdb-safeseh.yaml
lld :: COFF/pdb-same-name.test
lld :: COFF/pdb-scopes.test
lld :: COFF/pdb-secrel-ab
4 warning(s) in tests.
solute.yaml
lld :: COFF/pdb-source-lines.test
lld :: COFF/pdb-symbol-types.yaml
lld :: COFF/pdb-thunk.yaml
lld :: COFF/pdb-type-server-missing.yaml
lld ::...
2018 Feb 09
2
[Release-testers] [6.0.0 Release] Release Candidate 2 tagged
On Thu, Feb 8, 2018 at 10:43 PM, Dimitry Andric <dimitry at andric.com> wrote:
> On 7 Feb 2018, at 21:51, Hans Wennborg via Release-testers <release-testers at lists.llvm.org> wrote:
>>
>> There's been a lot of merges since rc1, and hopefully the tests are in
>> a better state now.
>>
>> 6.0.0-rc2 was just tagged, after r324506.
>>
>>