[llvm-dev] Is LLVM's C-Api Unicode aware?
Friedman, Eli via llvm-dev
llvm-dev at lists.llvm.org
Fri Sep 8 11:52:55 PDT 2017
On 9/8/2017 1:48 AM, Alexander Benikowski via llvm-dev wrote:
> Hi,
> From what i can tell by looking at the C-Api and its use of
> CharPointers. It seems LLVM C-Api(and by that LLVM itself i think) is
> not Unicode aware? So only plain Ascii-Characters?
>
> Currently translating the headers, and just wanted to be sure, since
> "char" is usually 1 Byte IIRC.
A lot of the APIs actually just take null-terminated byte arrays. For
example, symbol names are allowed to be an arbitrary sequence of bytes.
-Eli
--
Employee of Qualcomm Innovation Center, Inc.
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project
More information about the llvm-dev
mailing list